diff options
author | David Howells <dhowells@redhat.com> | 2017-07-05 17:25:53 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-11 12:09:21 +0200 |
commit | 1d278a879081ddc40286500e58868aaee47de257 (patch) | |
tree | ab1f4055309b693f4eb16bfc16b468413816afca /fs/super.c | |
parent | orangefs: Implement show_options (diff) | |
download | linux-1d278a879081ddc40286500e58868aaee47de257.tar.xz linux-1d278a879081ddc40286500e58868aaee47de257.zip |
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.c | 1 |
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); } |