summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-11-25 04:25:07 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 04:57:05 +0100
commita73324da7af4052e1d1ddec6a5980f552420e58b (patch)
tree65c119bf3bb852c4298aeb24b906dc3a5be7520a /fs/dcache.c
parentvfs: now it can be done - make mnt_parent point to struct mount (diff)
downloadlinux-a73324da7af4052e1d1ddec6a5980f552420e58b.tar.xz
linux-a73324da7af4052e1d1ddec6a5980f552420e58b.zip
vfs: move mnt_mountpoint to struct mount
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/dcache.c')
-rw-r--r--fs/dcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index 98b48753f77b..24790041ea76 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -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;