summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/super.c
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2011-03-09 03:05:07 +0100
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2011-03-09 03:05:07 +0100
commit693dd321222f03b17668f88ceb0f7d518900191e (patch)
treeb0088ee73f3499e0b3301fc5dcf44c677cfd092d /fs/nilfs2/super.c
parentnilfs2: move parameters on nilfs_sb_info into nilfs object (diff)
downloadlinux-693dd321222f03b17668f88ceb0f7d518900191e.tar.xz
linux-693dd321222f03b17668f88ceb0f7d518900191e.zip
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.c3
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)
if (err)
goto failed_nilfs;
- spin_lock_init(&sbi->s_inode_lock);
- INIT_LIST_HEAD(&sbi->s_dirty_files);
-
/*
* Following initialization is overlapped because
* nilfs_sb_info structure has been cleared at the beginning.