diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-09-09 18:54:51 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-09-09 18:54:51 -0400 |
commit | 0aa060000e83ca3d09ddc446a7174fb0820d99bc (patch) | |
tree | c80077aed7b1df852d556965e2b36d3c956cdabe /fs/fat/cache.c | |
parent | 4d33b1ef10995d7ba6191d67456202c697a92a32 (diff) |
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/fat/cache.c')
0 files changed, 0 insertions, 0 deletions