diff options
author | David Howells <dhowells@redhat.com> | 2017-07-05 11:25:53 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-11 06:09:21 -0400 |
commit | 1d278a879081ddc40286500e58868aaee47de257 (patch) | |
tree | ab1f4055309b693f4eb16bfc16b468413816afca /include/linux | |
parent | 4dfdb71307675b19a54723a556371dad5e3b0083 (diff) |
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 'include/linux')
-rw-r--r-- | include/linux/fs.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index bc0c054894b9..e265b2ea72c6 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1351,11 +1351,6 @@ struct super_block { | |||
1351 | */ | 1351 | */ |
1352 | char *s_subtype; | 1352 | char *s_subtype; |
1353 | 1353 | ||
1354 | /* | ||
1355 | * Saved mount options for lazy filesystems using | ||
1356 | * generic_show_options() | ||
1357 | */ | ||
1358 | char __rcu *s_options; | ||
1359 | const struct dentry_operations *s_d_op; /* default d_op for dentries */ | 1354 | const struct dentry_operations *s_d_op; /* default d_op for dentries */ |
1360 | 1355 | ||
1361 | /* | 1356 | /* |
@@ -3033,10 +3028,6 @@ extern void setattr_copy(struct inode *inode, const struct iattr *attr); | |||
3033 | 3028 | ||
3034 | extern int file_update_time(struct file *file); | 3029 | extern int file_update_time(struct file *file); |
3035 | 3030 | ||
3036 | extern int generic_show_options(struct seq_file *m, struct dentry *root); | ||
3037 | extern void save_mount_options(struct super_block *sb, char *options); | ||
3038 | extern void replace_mount_options(struct super_block *sb, char *options); | ||
3039 | |||
3040 | static inline bool io_is_direct(struct file *filp) | 3031 | static inline bool io_is_direct(struct file *filp) |
3041 | { | 3032 | { |
3042 | return (filp->f_flags & O_DIRECT) || IS_DAX(filp->f_mapping->host); | 3033 | return (filp->f_flags & O_DIRECT) || IS_DAX(filp->f_mapping->host); |