summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2015-06-22 00:31:26 -0400
committerTheodore Ts'o <tytso@mit.edu>2015-06-22 00:31:26 -0400
commit3da40c7b089810ac9cf2bb1e59633f619f3a7312 (patch)
treee1649f9e7cbe2ae93c7e1cd82ae21fbdef8342a6 /fs/ext4/ext4.h
parent04e22412f420ade46dbf792a10e7f0d26ae55359 (diff)
downloadop-kernel-dev-3da40c7b089810ac9cf2bb1e59633f619f3a7312.zip
op-kernel-dev-3da40c7b089810ac9cf2bb1e59633f619f3a7312.tar.gz
ext4: only call ext4_truncate when size <= isize
At LSF we decided that if we truncate up from isize we shouldn't trim fallocated blocks that were fallocated with KEEP_SIZE and are past the new i_size. This patch fixes ext4 to do this. [ Completely reworked patch so that i_disksize would actually get set when truncating up. Also reworked the code for handling truncate so that it's easier to handle. -- tytso ] Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Diffstat (limited to 'fs/ext4/ext4.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud