diff options
author | Jan Kara <jack@suse.cz> | 2009-12-18 00:27:06 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-18 00:45:30 +0100 |
commit | ec8e2f7466ca370f5e09000ca40a71759afc9ac8 (patch) | |
tree | 41c33d2317d9ffb0cc60cdacebf246bc023f8677 /drivers/hwmon/lis3lv02d_i2c.c | |
parent | cs5535: CS5535_MFGPT_DEFAULT_IRQ should depend on CS5535_MFGPT (diff) | |
download | linux-ec8e2f7466ca370f5e09000ca40a71759afc9ac8.tar.xz linux-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 'drivers/hwmon/lis3lv02d_i2c.c')
0 files changed, 0 insertions, 0 deletions