commit | 12219aea6b944e36795267be31d43f9c484841be | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Thu Jul 17 16:12:08 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Jul 17 16:12:08 2008 -0400 |
tree | 0a9970929358fc8f0105334f2969888ecdf894e6 | |
parent | 34071da71a665d8c81e3b3467c9a2e7c56386fec [diff] |
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>