ext4: Clarify the locking details in mballoc
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 10 Sep 2009 03:50:17 +0000 (23:50 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 10 Sep 2009 03:50:17 +0000 (23:50 -0400)
We don't need to take the alloc_sem lock when we are adding new
groups, since mballoc won't see the new group added until we bump
sbi->s_groups_count.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>

No differences found