diff options
author | Jose R. Santos <jrs@us.ibm.com> | 2008-06-03 14:07:29 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-06-03 14:07:29 -0400 |
commit | 0bf7e8379ce7e0159a2a6bd3d937f2f6ada79799 (patch) | |
tree | 2009c826d8baadc1b704af1ae23ddf0b2118be5e /fs/ext4/namei.c | |
parent | 03cddb80ed2dacaf03c370d38bcc75f8303a03b8 (diff) |
ext4: Fix uninit block group initialization with FLEX_BG
With FLEX_BG block bitmaps, inode bitmaps and inode tables _MAY_ be
allocated outside the group. So, when initializing an uninitialized
block bitmap, we need to check the location of this blocks before
setting the corresponding bits in the block bitmap of the newly
initialized group. Also return the right number of free blocks when
counting the available free blocks in uninit group.
Tested-by: Aneesh Kumar K.V <aneesh.kumar@inux.vnet.ibm.com>
Signed-off-by: Jose R. Santos <jrs@us.ibm.com>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/namei.c')
0 files changed, 0 insertions, 0 deletions