summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2009-12-17 15:27:06 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-17 15:45:30 -0800
commitec8e2f7466ca370f5e09000ca40a71759afc9ac8 (patch)
tree41c33d2317d9ffb0cc60cdacebf246bc023f8677 /mm
parent2bf212b9e48e1c35eaf8f0cc1729d7c4a39b7b5a (diff)
downloadlinux-3.10-ec8e2f7466ca370f5e09000ca40a71759afc9ac8.tar.gz
linux-3.10-ec8e2f7466ca370f5e09000ca40a71759afc9ac8.tar.bz2
linux-3.10-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 'mm')
0 files changed, 0 insertions, 0 deletions