diff options
author | 2013-05-27 23:32:35 -0400 | |
---|---|---|
committer | 2013-05-27 23:32:35 -0400 | |
commit | 55f252c9f50e998f6bc3aadc7806f049f7443d21 (patch) | |
tree | 254070ad55a2e1011a11aa4ca0dbd0762354cced /fs/jbd2/commit.c | |
parent | Revert "ext4: fix fsx truncate failure" (diff) | |
download | linux-dev-55f252c9f50e998f6bc3aadc7806f049f7443d21.tar.xz linux-dev-55f252c9f50e998f6bc3aadc7806f049f7443d21.zip |
ext4: truncate_inode_pages() in orphan cleanup path
Currently we do not tell mm to zero out tail of the page before truncate
in orphan_cleanup(). This is ok, because the page should not be
uptodate, however this may eventually change and I might cause problems.
Call truncate_inode_pages() as precautionary measure. Thanks Jan Kara
for pointing this out.
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions