commit | 955ce5f5be67dfe0d1d096b543af33fe8a1ce3dd | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Sat May 02 20:35:09 2009 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat May 02 20:35:09 2009 -0400 |
tree | 68b0bdbef1594a3e43c1ef28ae8e096b40a06ae4 | |
parent | eefd7f03b86b8a319890e7fac5a6fcc7f8694b76 [diff] |
ext4: Convert ext4_lock_group to use sb_bgl_lock We have sb_bgl_lock() and ext4_group_info.bb_state bit spinlock to protech group information. The later is only used within mballoc code. Consolidate them to use sb_bgl_lock(). This makes the mballoc.c code much simpler and also avoid confusion with two locks protecting same info. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>