summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorAl Viro2009-04-18 20:06:57 +0200
committerAl Viro2009-06-12 03:36:01 +0200
commit1c755af4df75996b0dd4b7e6cacaf9d57a6ef2ef (patch)
tree0a75e35164912f53b21ca48b829cabdfa6ea507d /fs/namei.c
parentswitch follow_mount() (diff)
downloadkernel-qcow2-linux-1c755af4df75996b0dd4b7e6cacaf9d57a6ef2ef.tar.gz
kernel-qcow2-linux-1c755af4df75996b0dd4b7e6cacaf9d57a6ef2ef.tar.xz
kernel-qcow2-linux-1c755af4df75996b0dd4b7e6cacaf9d57a6ef2ef.zip
switch lookup_mnt()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/namei.c b/fs/namei.c
index c006bc61d1ea..527119afb6a5 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -702,7 +702,7 @@ static int __follow_mount(struct path *path)
{
int res = 0;
while (d_mountpoint(path->dentry)) {
- struct vfsmount *mounted = lookup_mnt(path->mnt, path->dentry);
+ struct vfsmount *mounted = lookup_mnt(path);
if (!mounted)
break;
dput(path->dentry);
@@ -718,7 +718,7 @@ static int __follow_mount(struct path *path)
static void follow_mount(struct path *path)
{
while (d_mountpoint(path->dentry)) {
- struct vfsmount *mounted = lookup_mnt(path->mnt, path->dentry);
+ struct vfsmount *mounted = lookup_mnt(path);
if (!mounted)
break;
dput(path->dentry);
@@ -735,7 +735,7 @@ int follow_down(struct path *path)
{
struct vfsmount *mounted;
- mounted = lookup_mnt(path->mnt, path->dentry);
+ mounted = lookup_mnt(path);
if (mounted) {
dput(path->dentry);
mntput(path->mnt);