aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namespace.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-11-24 23:35:54 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:57:06 -0500
commit6fc7871fed915914ef441efbe0f9a7c3d0f3bff1 (patch)
treecbbab1aaa3c5f86d5253914a4720b1acf0d109e4 /fs/namespace.c
parent6b41d536f7c84e7cb1c1462073150277e46f6ea8 (diff)
vfs: spread struct mount - get_dominating_id / do_make_slave
next pile of horrors, similar to mnt_parent one; this time it's mnt_master. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namespace.c')
-rw-r--r--fs/namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index 9ceb03fe176f..65d011fe982f 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1053,7 +1053,7 @@ static int show_mountinfo(struct seq_file *m, void *v)
1053 seq_printf(m, " shared:%i", mnt->mnt_group_id); 1053 seq_printf(m, " shared:%i", mnt->mnt_group_id);
1054 if (IS_MNT_SLAVE(mnt)) { 1054 if (IS_MNT_SLAVE(mnt)) {
1055 int master = mnt->mnt_master->mnt_group_id; 1055 int master = mnt->mnt_master->mnt_group_id;
1056 int dom = get_dominating_id(mnt, &p->root); 1056 int dom = get_dominating_id(r, &p->root);
1057 seq_printf(m, " master:%i", master); 1057 seq_printf(m, " master:%i", master);
1058 if (dom && dom != master) 1058 if (dom && dom != master)
1059 seq_printf(m, " propagate_from:%i", dom); 1059 seq_printf(m, " propagate_from:%i", dom);