diff options
author | Jan Kara <jack@suse.cz> | 2009-12-17 15:27:06 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-17 15:45:30 -0800 |
commit | ec8e2f7466ca370f5e09000ca40a71759afc9ac8 (patch) | |
tree | 41c33d2317d9ffb0cc60cdacebf246bc023f8677 /tools/perf/builtin-diff.c | |
parent | 2bf212b9e48e1c35eaf8f0cc1729d7c4a39b7b5a (diff) | |
download | lwn-ec8e2f7466ca370f5e09000ca40a71759afc9ac8.tar.gz lwn-ec8e2f7466ca370f5e09000ca40a71759afc9ac8.zip |
reiserfs: truncate blocks not used by a write
It can happen that write does not use all the blocks allocated in
write_begin either because of some filesystem error (like ENOSPC) or
because page with data to write has been removed from memory. We truncate
these blocks so that we don't have dangling blocks beyond i_size.
Cc: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/builtin-diff.c')
0 files changed, 0 insertions, 0 deletions