diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2011-03-08 21:05:07 -0500 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2011-03-08 21:05:07 -0500 |
commit | 693dd321222f03b17668f88ceb0f7d518900191e (patch) | |
tree | b0088ee73f3499e0b3301fc5dcf44c677cfd092d /fs/nilfs2/super.c | |
parent | 574e6c3145c5754141361c695b58736c294a8ae1 (diff) |
nilfs2: move s_inode_lock and s_dirty_files into nilfs object
Moves s_inode_lock spinlock and s_dirty_files list to nilfs object
from nilfs_sb_info structure.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/super.c')
-rw-r--r-- | fs/nilfs2/super.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c index 2f17a2f9ef9c..6dc8b3cad127 100644 --- a/fs/nilfs2/super.c +++ b/fs/nilfs2/super.c | |||
@@ -943,9 +943,6 @@ nilfs_fill_super(struct super_block *sb, void *data, int silent) | |||
943 | if (err) | 943 | if (err) |
944 | goto failed_nilfs; | 944 | goto failed_nilfs; |
945 | 945 | ||
946 | spin_lock_init(&sbi->s_inode_lock); | ||
947 | INIT_LIST_HEAD(&sbi->s_dirty_files); | ||
948 | |||
949 | /* | 946 | /* |
950 | * Following initialization is overlapped because | 947 | * Following initialization is overlapped because |
951 | * nilfs_sb_info structure has been cleared at the beginning. | 948 | * nilfs_sb_info structure has been cleared at the beginning. |