From 1f4c933d220f0e1778d3a4e88783bf0a35deb679 Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Fri, 10 Feb 2012 15:36:44 -0500 Subject: [PATCH] Unionfs: update ->show_options prototype Signed-off-by: Erez Zadok --- fs/unionfs/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c index c3ac814cc230..b99f14d1c748 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; -- 2.34.1