udf: Do not decrement i_blocks when freeing indirect extent block
authorJan Kara <jack@suse.cz>
Mon, 9 Jul 2012 11:24:21 +0000 (13:24 +0200)
committerJan Kara <jack@suse.cz>
Mon, 9 Jul 2012 11:24:21 +0000 (13:24 +0200)
commit17dc59ba418c3d6b0675d5b74d280acab2d4e369
tree49e7310921260fc3e1f43e76a052ee6733982f6f
parentbff943af6fe3af022c1c7a22cdb2e18a242eaf35
udf: Do not decrement i_blocks when freeing indirect extent block

Indirect extent block is not accounted in i_blocks during allocation
thus we should not decrement i_blocks when we are freeing such block
during truncation.

Reported-by: Steve Nickel <snickel58@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/truncate.c