summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorEric Whitney <enwlinux@gmail.com>2014-11-23 00:59:39 -0500
committerTheodore Ts'o <tytso@mit.edu>2014-11-23 00:59:39 -0500
commit0756b908a364c217bc2d8063783992ffe338b143 (patch)
treed5c5effc3d6364c00ed9389c4299a4bf1890a834 /tools
parent345ee947482f1c787b31014008586b8f512af1bd (diff)
downloadop-kernel-dev-0756b908a364c217bc2d8063783992ffe338b143.zip
op-kernel-dev-0756b908a364c217bc2d8063783992ffe338b143.tar.gz
ext4: fix end of region partial cluster handling
ext4_ext_remove_space() can incorrectly free a partial_cluster if EAGAIN is encountered while truncating or punching. Extent removal should be retried in this case. It also fails to free a partial cluster when the punched region begins at the start of a file on that unaligned cluster and where the entire file has not been punched. Remove the requirement that all blocks in the file must have been freed in order to free the partial cluster. Signed-off-by: Eric Whitney <enwlinux@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud