diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-25 05:24:33 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-04 04:57:06 +0100 |
commit | 6b41d536f7c84e7cb1c1462073150277e46f6ea8 (patch) | |
tree | fd75f1d76947bdfc42772ff3eef4b60977162840 /fs/mount.h | |
parent | vfs: all counters taken to struct mount (diff) | |
download | linux-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.h | 2 |
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) |