aboutsummaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/super.c')
-rw-r--r--fs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/super.c b/fs/super.c
index e8e6dbfefe8c..73ab9f9b3571 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -78,6 +78,7 @@ static struct super_block *alloc_super(struct file_system_type *type)
78 INIT_LIST_HEAD(&s->s_inodes); 78 INIT_LIST_HEAD(&s->s_inodes);
79 INIT_LIST_HEAD(&s->s_dentry_lru); 79 INIT_LIST_HEAD(&s->s_dentry_lru);
80 INIT_LIST_HEAD(&s->s_inode_lru); 80 INIT_LIST_HEAD(&s->s_inode_lru);
81 spin_lock_init(&s->s_inode_lru_lock);
81 init_rwsem(&s->s_umount); 82 init_rwsem(&s->s_umount);
82 mutex_init(&s->s_lock); 83 mutex_init(&s->s_lock);
83 lockdep_set_class(&s->s_umount, &type->s_umount_key); 84 lockdep_set_class(&s->s_umount, &type->s_umount_key);