From: Erez Zadok Date: Fri, 10 Feb 2012 20:36:44 +0000 (-0500) Subject: Unionfs: update ->show_options prototype X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=5cb3f9b49646169f6f06b63ff508e8c433269b72;p=unionfs-3.9.y.git Unionfs: update ->show_options prototype Signed-off-by: Erez Zadok --- diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c index c3ac814cc23..b99f14d1c74 100644 --- a/fs/unionfs/super.c +++ b/fs/unionfs/super.c @@ -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;