ext4: Fixed inode allocator to correctly track a flex_bg's used_dirs
commit84b29e4a5037d97d72da25fc40d879a29bf1846d
authorEric Sandeen <sandeen@redhat.com>
Mon, 31 May 2010 02:49:39 +0000 (30 22:49 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:21:16 +0000 (2 10:21 -0700)
tree590b6ecd1cf7cf705288d7931108c1492301e18e
parent112ba39e2f19652f2baa3823e5ca76848717d905
ext4: Fixed inode allocator to correctly track a flex_bg's used_dirs

commit c4caae25187ff3f5e837c6f04eb1acc2723c72d3 upstream (as of v2.6.34-rc3)

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext4/ialloc.c