summaryrefslogtreecommitdiffstats
path: root/features/unionfs/Unionfs-update-show_options-prototype.patch
blob: 38b286aee31c9b9f6eedd3757ef9bcfcd3b0c417 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 95c79fb2f965f1feb33bffe46c20ddb0b8e9da0d Mon Sep 17 00:00:00 2001
From: Erez Zadok <ezk@cs.sunysb.edu>
Date: Fri, 10 Feb 2012 15:36:44 -0500
Subject: [PATCH] Unionfs: update ->show_options prototype

commit a34b0868fc27524af46ec861de4d85ae07b63ccb from unionfs
upstream - git://git.fsl.cs.sunysb.edu/unionfs-latest.git

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Signed-off-by: Liang Li <liang.li@windriver.com>
---
 fs/unionfs/super.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c
index c3ac814..b99f14d 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;
-- 
1.7.5.4