summaryrefslogtreecommitdiff
path: root/fs/super.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2017-07-05 18:25:53 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2017-07-11 13:09:21 +0300
commit1d278a879081ddc40286500e58868aaee47de257 (patch)
treeab1f4055309b693f4eb16bfc16b468413816afca /fs/super.c
parent4dfdb71307675b19a54723a556371dad5e3b0083 (diff)
downloadlinux-1d278a879081ddc40286500e58868aaee47de257.tar.xz
VFS: Kill off s_options and helpers
Kill off s_options, save/replace_mount_options() and generic_show_options() as all filesystems now implement ->show_options() for themselves. This should make it easier to implement a context-based mount where the mount options can be passed individually over a file descriptor. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/super.c')
-rw-r--r--fs/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/super.c b/fs/super.c
index dfb56a9665d8..6bc3352adcf3 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -168,7 +168,6 @@ static void destroy_super(struct super_block *s)
WARN_ON(!list_empty(&s->s_mounts));
put_user_ns(s->s_user_ns);
kfree(s->s_subtype);
- kfree(s->s_options);
call_rcu(&s->rcu, destroy_super_rcu);
}