diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-04-25 22:53:39 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-04-25 22:53:39 -0400 |
commit | 32ed5058ce90024efcd811254b4b1de0468099df (patch) | |
tree | 0054cc5c385b4ba02abd95a761ccb01b453ba05f /fs/ext4/ext4_sb.h | |
parent | 3b9d4ed26680771295d904a6b83e88e620780893 (diff) | |
download | linux-32ed5058ce90024efcd811254b4b1de0468099df.tar.bz2 |
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>
Diffstat (limited to 'fs/ext4/ext4_sb.h')
-rw-r--r-- | fs/ext4/ext4_sb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/ext4_sb.h b/fs/ext4/ext4_sb.h index 4bda2f75d426..2d36223d5f57 100644 --- a/fs/ext4/ext4_sb.h +++ b/fs/ext4/ext4_sb.h @@ -72,6 +72,7 @@ struct ext4_sb_info { struct journal_s *s_journal; struct list_head s_orphan; struct mutex s_orphan_lock; + struct mutex s_resize_lock; unsigned long s_commit_interval; u32 s_max_batch_time; u32 s_min_batch_time; |