summaryrefslogtreecommitdiffstats
path: root/fs/mount.h
diff options
context:
space:
mode:
authorAl Viro2011-11-25 05:24:33 +0100
committerAl Viro2012-01-04 04:57:06 +0100
commit6b41d536f7c84e7cb1c1462073150277e46f6ea8 (patch)
treefd75f1d76947bdfc42772ff3eef4b60977162840 /fs/mount.h
parentvfs: all counters taken to struct mount (diff)
downloadkernel-qcow2-linux-6b41d536f7c84e7cb1c1462073150277e46f6ea8.tar.gz
kernel-qcow2-linux-6b41d536f7c84e7cb1c1462073150277e46f6ea8.tar.xz
kernel-qcow2-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)