]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ext4: Call ext4_jbd2_file_inode() after zeroing block
authorLukas Czerner <lczerner@redhat.com>
Tue, 28 May 2013 03:32:35 +0000 (23:32 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 28 May 2013 03:32:35 +0000 (23:32 -0400)
commit0713ed0cde76438d05849f1537d3aab46e099475
tree036770cd667c43ade87485d4aab5f25e90308821
parentd863dc3614e489e11808f940a612b520ce1dff91
ext4: Call ext4_jbd2_file_inode() after zeroing block

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 <lczerner@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c