diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-25 06:07:16 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-04 04:57:08 +0100 |
commit | d10e8def07fc87488c396d2eff2c26c43bb541dd (patch) | |
tree | d0ad0d4c47838a096aafac353e206861cb6d62c1 /fs/mount.h | |
parent | vfs: spread struct mount - remaining argument of mnt_set_mountpoint() (diff) | |
download | linux-d10e8def07fc87488c396d2eff2c26c43bb541dd.tar.xz linux-d10e8def07fc87488c396d2eff2c26c43bb541dd.zip |
vfs: take mnt_master to struct mount
make IS_MNT_SLAVE take struct mount * at the same time
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 e4ecf59c9353..7071d8fa9307 100644 --- a/fs/mount.h +++ b/fs/mount.h @@ -19,6 +19,8 @@ struct mount { #endif struct list_head mnt_mounts; /* list of children, anchored here */ struct list_head mnt_child; /* and going through their mnt_child */ + /* yet to be moved - up to mnt_slave */ + struct vfsmount *mnt_master; /* slave is on master->mnt_slave_list */ }; static inline struct mount *real_mount(struct vfsmount *mnt) |