On Tue, Jan 10, 2017 at 01:37:53PM +0100, Jan Kara wrote: > ext4_journalled_write_end() did not propely handle all the cases when > generic_perform_write() did not copy all the data into the target page > and could mark buffers with uninitialized contents as uptodate and dirty > leading to possible data corruption (which would be quickly fixed by > generic_perform_write() retrying the write but still). Fix the problem > by carefully handling the case when the page that is written to is not > uptodate. > > CC: stable@xxxxxxxxxxxxxxx > Reported-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Jan Kara <jack@xxxxxxx> Thanks, applied. - Ted