diff options
author | Jan Kara <[email protected]> | 2009-12-17 15:27:06 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-12-17 15:45:30 -0800 |
commit | ec8e2f7466ca370f5e09000ca40a71759afc9ac8 (patch) | |
tree | 41c33d2317d9ffb0cc60cdacebf246bc023f8677 /lib/debugobjects.c | |
parent | 2bf212b9e48e1c35eaf8f0cc1729d7c4a39b7b5a (diff) |
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 <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions