]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commit12219aea6b944e36795267be31d43f9c484841be
tree0a9970929358fc8f0105334f2969888ecdf894e6
parent34071da71a665d8c81e3b3467c9a2e7c56386fec
ext4: Cleanup the block reservation code path

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>
fs/ext4/ext4.h
fs/ext4/inode.c