vfs: move mnt_mountpoint to struct mount

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2011-11-24 22:25:07 -05:00
commit a73324da7a
6 changed files with 23 additions and 24 deletions

View file

@ -2464,7 +2464,7 @@ static int prepend_path(const struct path *path,
/* Global root? */
if (!mnt_has_parent(mnt))
goto global_root;
dentry = mnt->mnt.mnt_mountpoint;
dentry = mnt->mnt_mountpoint;
mnt = mnt->mnt_parent;
vfsmnt = &mnt->mnt;
continue;