summaryrefslogtreecommitdiffstats
path: root/fs/mount.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-11-25 05:24:33 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 04:57:06 +0100
commit6b41d536f7c84e7cb1c1462073150277e46f6ea8 (patch)
treefd75f1d76947bdfc42772ff3eef4b60977162840 /fs/mount.h
parentvfs: all counters taken to struct mount (diff)
downloadlinux-6b41d536f7c84e7cb1c1462073150277e46f6ea8.tar.xz
linux-6b41d536f7c84e7cb1c1462073150277e46f6ea8.zip
vfs: take mnt_child/mnt_mounts to struct mount
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/mount.h')
-rw-r--r--fs/mount.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/mount.h b/fs/mount.h
index 452ae41e0131..e4ecf59c9353 100644
--- a/fs/mount.h
+++ b/fs/mount.h
@@ -17,6 +17,8 @@ struct mount {
int mnt_count;
int mnt_writers;
#endif
+ struct list_head mnt_mounts; /* list of children, anchored here */
+ struct list_head mnt_child; /* and going through their mnt_child */
};
static inline struct mount *real_mount(struct vfsmount *mnt)