vfs: mnt_parent moved to struct mount

the second victim...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2011-11-24 22:05:19 -05:00
parent 643822b41e
commit 3376f34fff
6 changed files with 30 additions and 29 deletions

View file

@ -292,7 +292,7 @@ int propagate_mount_busy(struct mount *mnt, int refcnt)
{
struct vfsmount *m;
struct mount *child;
struct vfsmount *parent = mnt->mnt.mnt_parent;
struct vfsmount *parent = mnt->mnt_parent;
int ret = 0;
if (&mnt->mnt == parent)
@ -322,7 +322,7 @@ int propagate_mount_busy(struct mount *mnt, int refcnt)
*/
static void __propagate_umount(struct mount *mnt)
{
struct vfsmount *parent = mnt->mnt.mnt_parent;
struct vfsmount *parent = mnt->mnt_parent;
struct vfsmount *m;
BUG_ON(parent == &mnt->mnt);