ext4: Fixed inode allocator to correctly track a flex_bg's used_dirs
authorEric Sandeen <sandeen@redhat.com>
Wed, 24 Mar 2010 01:32:00 +0000 (21:32 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 24 Mar 2010 01:32:00 +0000 (21:32 -0400)
commitc4caae25187ff3f5e837c6f04eb1acc2723c72d3
tree530f3dac932045e288366e260e446e96dd7f2fb7
parentba69f9ab7df844125898104e854e063b47c26637
ext4: Fixed inode allocator to correctly track a flex_bg's used_dirs

When used_dirs was introduced for the flex_groups struct, it looks
like the accounting was not put into place properly, in some places
manipulating free_inodes rather than used_dirs.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ialloc.c