diff options
Diffstat (limited to 'fs/super.c')
| -rw-r--r-- | fs/super.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/super.c b/fs/super.c index 2761d3e22ed9..9cda337ddae2 100644 --- a/fs/super.c +++ b/fs/super.c | |||
| @@ -62,9 +62,6 @@ static struct super_block *alloc_super(struct file_system_type *type) | |||
| 62 | s = NULL; | 62 | s = NULL; |
| 63 | goto out; | 63 | goto out; |
| 64 | } | 64 | } |
| 65 | INIT_LIST_HEAD(&s->s_dirty); | ||
| 66 | INIT_LIST_HEAD(&s->s_io); | ||
| 67 | INIT_LIST_HEAD(&s->s_more_io); | ||
| 68 | INIT_LIST_HEAD(&s->s_files); | 65 | INIT_LIST_HEAD(&s->s_files); |
| 69 | INIT_LIST_HEAD(&s->s_instances); | 66 | INIT_LIST_HEAD(&s->s_instances); |
| 70 | INIT_HLIST_HEAD(&s->s_anon); | 67 | INIT_HLIST_HEAD(&s->s_anon); |
| @@ -171,7 +168,7 @@ int __put_super_and_need_restart(struct super_block *sb) | |||
| 171 | * Drops a temporary reference, frees superblock if there's no | 168 | * Drops a temporary reference, frees superblock if there's no |
| 172 | * references left. | 169 | * references left. |
| 173 | */ | 170 | */ |
| 174 | static void put_super(struct super_block *sb) | 171 | void put_super(struct super_block *sb) |
| 175 | { | 172 | { |
| 176 | spin_lock(&sb_lock); | 173 | spin_lock(&sb_lock); |
| 177 | __put_super(sb); | 174 | __put_super(sb); |
