[PATCH v3.18-rc2] staging: android: logger: Fix log corruption regression

2014-10-27 Thread Daniel Thompson
Since commit cd678fce4280 (switch logger to -write_iter()), any attempt to write to the log results in the log data being written over its own metadata, thus rendering the log unreadable. The problem was first detected when I ran an Android userspace on the v3.18-rc1 kernel. However the issue can

Re: [PATCH v3.18-rc2] staging: android: logger: Fix log corruption regression

2014-10-27 Thread Al Viro
On Mon, Oct 27, 2014 at 06:51:43PM +, Daniel Thompson wrote: Since commit cd678fce4280 (switch logger to -write_iter()), any attempt to write to the log results in the log data being written over its own metadata, thus rendering the log unreadable. The problem was first detected when I