summaryrefslogtreecommitdiffstats
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2013-05-27 23:32:35 -0400
committerTheodore Ts'o <tytso@mit.edu>2013-05-27 23:32:35 -0400
commit55f252c9f50e998f6bc3aadc7806f049f7443d21 (patch)
tree254070ad55a2e1011a11aa4ca0dbd0762354cced /fs/ext4/inode.c
parenteb3544c6fc6642c9037817980d8a9dc9df44aa45 (diff)
downloadop-kernel-dev-55f252c9f50e998f6bc3aadc7806f049f7443d21.zip
op-kernel-dev-55f252c9f50e998f6bc3aadc7806f049f7443d21.tar.gz
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/ext4/inode.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud