ext4: Cleanup the block reservation code path
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 17 Jul 2008 20:12:08 +0000 (16:12 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 17 Jul 2008 20:12:08 +0000 (16:12 -0400)
The truncate patch should not use the i_allocated_meta_blocks
value. So add seperate functions to be used in the truncate
and alloc path. We also need to release the meta-data block
that we reserved for the blocks that we are truncating.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>

No differences found