aboutsummaryrefslogtreecommitdiffstats
path: root/fs/mount.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-07-27 00:08:32 -0400
committerEric W. Biederman <ebiederm@xmission.com>2012-11-19 08:59:19 -0500
commit771b1371686e0a63e938ada28de020b9a0040f55 (patch)
tree1eb8891f19c43255febe2e801c33cbe7061e9a34 /fs/mount.h
parent8823c079ba7136dc1948d6f6dcb5f8022bde438e (diff)
vfs: Add a user namespace reference from struct mnt_namespace
This will allow for support for unprivileged mounts in a new user namespace. Acked-by: "Serge E. Hallyn" <serge@hallyn.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/mount.h')
-rw-r--r--fs/mount.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/mount.h b/fs/mount.h
index e9c37dd3d00d..630fafc616bb 100644
--- a/fs/mount.h
+++ b/fs/mount.h
@@ -6,6 +6,7 @@ struct mnt_namespace {
6 atomic_t count; 6 atomic_t count;
7 struct mount * root; 7 struct mount * root;
8 struct list_head list; 8 struct list_head list;
9 struct user_namespace *user_ns;
9 u64 seq; /* Sequence number to prevent loops */ 10 u64 seq; /* Sequence number to prevent loops */
10 wait_queue_head_t poll; 11 wait_queue_head_t poll;
11 int event; 12 int event;