Unionfs: update ->show_options prototype
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 10 Feb 2012 20:36:44 +0000 (15:36 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 11 Nov 2014 01:05:42 +0000 (20:05 -0500)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/super.c

index c3ac814cc230ae9674d7159e753c9629086d7098..b99f14d1c748772824457d2c4c8eaf8e405b0355 100644 (file)
@@ -965,9 +965,9 @@ static void unionfs_umount_begin(struct super_block *sb)
        unionfs_read_unlock(sb);
 }
 
-static int unionfs_show_options(struct seq_file *m, struct vfsmount *mnt)
+static int unionfs_show_options(struct seq_file *m, struct dentry *root)
 {
-       struct super_block *sb = mnt->mnt_sb;
+       struct super_block *sb = root->d_sb;
        int ret = 0;
        char *tmp_page;
        char *path;