diff options
Diffstat (limited to 'fs/super.c')
-rw-r--r-- | fs/super.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/super.c b/fs/super.c index ca696155cd9a..823e061faa87 100644 --- a/fs/super.c +++ b/fs/super.c | |||
@@ -30,6 +30,7 @@ | |||
30 | #include <linux/idr.h> | 30 | #include <linux/idr.h> |
31 | #include <linux/mutex.h> | 31 | #include <linux/mutex.h> |
32 | #include <linux/backing-dev.h> | 32 | #include <linux/backing-dev.h> |
33 | #include <linux/rculist_bl.h> | ||
33 | #include "internal.h" | 34 | #include "internal.h" |
34 | 35 | ||
35 | 36 | ||
@@ -71,7 +72,7 @@ static struct super_block *alloc_super(struct file_system_type *type) | |||
71 | INIT_LIST_HEAD(&s->s_files); | 72 | INIT_LIST_HEAD(&s->s_files); |
72 | #endif | 73 | #endif |
73 | INIT_LIST_HEAD(&s->s_instances); | 74 | INIT_LIST_HEAD(&s->s_instances); |
74 | INIT_HLIST_HEAD(&s->s_anon); | 75 | INIT_HLIST_BL_HEAD(&s->s_anon); |
75 | INIT_LIST_HEAD(&s->s_inodes); | 76 | INIT_LIST_HEAD(&s->s_inodes); |
76 | INIT_LIST_HEAD(&s->s_dentry_lru); | 77 | INIT_LIST_HEAD(&s->s_dentry_lru); |
77 | init_rwsem(&s->s_umount); | 78 | init_rwsem(&s->s_umount); |
@@ -1139,7 +1140,7 @@ static struct vfsmount *fs_set_subtype(struct vfsmount *mnt, const char *fstype) | |||
1139 | return mnt; | 1140 | return mnt; |
1140 | 1141 | ||
1141 | err: | 1142 | err: |
1142 | mntput(mnt); | 1143 | mntput_long(mnt); |
1143 | return ERR_PTR(err); | 1144 | return ERR_PTR(err); |
1144 | } | 1145 | } |
1145 | 1146 | ||