summaryrefslogtreecommitdiffstats
path: root/fs/ext4/balloc.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-09-09 18:54:51 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-09-09 18:54:51 -0400
commit0aa060000e83ca3d09ddc446a7174fb0820d99bc (patch)
treec80077aed7b1df852d556965e2b36d3c956cdabe /fs/ext4/balloc.c
parent4d33b1ef10995d7ba6191d67456202c697a92a32 (diff)
downloadlinux-0aa060000e83ca3d09ddc446a7174fb0820d99bc.tar.gz
linux-0aa060000e83ca3d09ddc446a7174fb0820d99bc.tar.xz
linux-0aa060000e83ca3d09ddc446a7174fb0820d99bc.zip
ext4: teach ext4_ext_truncate() about the bigalloc feature
When we are truncating (as opposed unlinking) a file, we need to worry about partial truncates of a file, especially in the light of sparse files. The changes here make sure that arbitrary truncates of sparse files works correctly. Yeah, it's messy. Note that these functions will need to be revisted when the punch ioctl is integrated --- in fact this commit will probably have merge conflicts with the punch changes which Allison Henders and the IBM LTC have been working on. I will need to fix this up when either patch hits mainline. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/balloc.c')
0 files changed, 0 insertions, 0 deletions