[PATCH v4 12/20] ext4: Call ext4_jbd2_file_inode() after zeroing block

2013-05-14 Thread Lukas Czerner
In data=ordered mode we should call ext4_jbd2_file_inode() so that crash after the truncate transaction has committed does not expose stall data in the tail of the block. Thanks Jan Kara for pointing that out. Signed-off-by: Lukas Czerner --- fs/ext4/inode.c |5 - 1 files changed, 4

[PATCH v4 12/20] ext4: Call ext4_jbd2_file_inode() after zeroing block

2013-05-14 Thread Lukas Czerner
In data=ordered mode we should call ext4_jbd2_file_inode() so that crash after the truncate transaction has committed does not expose stall data in the tail of the block. Thanks Jan Kara for pointing that out. Signed-off-by: Lukas Czerner lczer...@redhat.com --- fs/ext4/inode.c |5 - 1