vfs: switch ->show_options() to struct dentry *
[deliverable/linux.git] / fs / namespace.c
index 773435ca300de1b10c3fea4881429a293faae42b..db65e2e4921f22833eedb38934c1ee4f07e09c7a 100644 (file)
@@ -836,12 +836,12 @@ static inline void mangle(struct seq_file *m, const char *s)
  *
  * See also save_mount_options().
  */
-int generic_show_options(struct seq_file *m, struct vfsmount *mnt)
+int generic_show_options(struct seq_file *m, struct dentry *root)
 {
        const char *options;
 
        rcu_read_lock();
-       options = rcu_dereference(mnt->mnt_sb->s_options);
+       options = rcu_dereference(root->d_sb->s_options);
 
        if (options != NULL && options[0]) {
                seq_putc(m, ',');
This page took 0.035382 seconds and 5 git commands to generate.