diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-04-26 04:54:04 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-04-26 04:54:04 +0200 |
commit | 3b9d4ed26680771295d904a6b83e88e620780893 (patch) | |
tree | 905b0e95697839c446c86250cf38dd256f5e846a /fs/ext4/ext4_sb.h | |
parent | ext4: ext4_mark_recovery_complete() doesn't need to use lock_super (diff) | |
download | linux-3b9d4ed26680771295d904a6b83e88e620780893.tar.xz linux-3b9d4ed26680771295d904a6b83e88e620780893.zip |
ext4: Replace lock/unlock_super() with an explicit lock for the orphan list
Use a separate lock to protect the orphan list, 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 57b71fefbccf..4bda2f75d426 100644 --- a/fs/ext4/ext4_sb.h +++ b/fs/ext4/ext4_sb.h @@ -71,6 +71,7 @@ struct ext4_sb_info { struct inode *s_journal_inode; struct journal_s *s_journal; struct list_head s_orphan; + struct mutex s_orphan_lock; unsigned long s_commit_interval; u32 s_max_batch_time; u32 s_min_batch_time; |