ext4: Replace lock/unlock_super() with an explicit lock for resizing
authorTheodore Ts'o <tytso@mit.edu>
Sun, 26 Apr 2009 02:53:39 +0000 (22:53 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 26 Apr 2009 02:53:39 +0000 (22:53 -0400)
commit32ed5058ce90024efcd811254b4b1de0468099df
tree0054cc5c385b4ba02abd95a761ccb01b453ba05f
parent3b9d4ed26680771295d904a6b83e88e620780893
ext4: Replace lock/unlock_super() with an explicit lock for resizing

Use a separate lock to protect s_groups_count and the other block
group descriptors which get changed via an on-line resize operation,
so we can stop overloading the use of lock_super().

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4_sb.h
fs/ext4/resize.c
fs/ext4/super.c