summaryrefslogtreecommitdiff
blob: f827713109399c536aa22b8dd949ba1dcddc4b74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -NurpP linux-2.6.16.17-vs2.1.1-rc21.2/fs/namespace.c linux-2.6.16.17-vs2.1.1-rc21.3/fs/namespace.c
--- linux-2.6.16.17-vs2.1.1-rc21.2/fs/namespace.c	2006-04-27 21:27:16 +0200
+++ linux-2.6.16.17-vs2.1.1-rc21.3/fs/namespace.c	2006-05-29 19:20:26 +0200
@@ -406,7 +406,7 @@ static int show_vfsmnt(struct seq_file *
 
 	if (vx_flags(VXF_HIDE_MOUNT, 0))
 		return 0;
-	if (!mnt_is_reachable(mnt))
+	if (!mnt_is_reachable(mnt) && !vx_check(0, VX_WATCH))
 		return 0;
 
 	if (!vx_check(0, VX_ADMIN|VX_WATCH) &&