summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-03-18 09:04:20 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-18 09:04:20 -0400
commit7cc90cc3ffe22a0d81b8d605b20a82ec7911012d (patch)
treea870fc960dd10a12be6fb905ea266c65547c11bb /fs
parentb12cea9198fa99ffd3de1776c323bc7464d26b44 (diff)
downloadop-kernel-dev-7cc90cc3ffe22a0d81b8d605b20a82ec7911012d.zip
op-kernel-dev-7cc90cc3ffe22a0d81b8d605b20a82ec7911012d.tar.gz
don't pass 'mounting_here' flag to follow_down()
it's always false now Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/namei.c4
-rw-r--r--fs/nfsd/vfs.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/namei.c b/fs/namei.c
index b912b7a..e092648 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -1065,7 +1065,7 @@ failed:
* Care must be taken as namespace_sem may be held (indicated by mounting_here
* being true).
*/
-int follow_down(struct path *path, bool mounting_here)
+int follow_down(struct path *path)
{
unsigned managed;
int ret;
@@ -1086,7 +1086,7 @@ int follow_down(struct path *path, bool mounting_here)
BUG_ON(!path->dentry->d_op);
BUG_ON(!path->dentry->d_op->d_manage);
ret = path->dentry->d_op->d_manage(
- path->dentry, mounting_here, false);
+ path->dentry, false, false);
if (ret < 0)
return ret == -EISDIR ? 0 : ret;
}
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c
index da1d970..ff93025 100644
--- a/fs/nfsd/vfs.c
+++ b/fs/nfsd/vfs.c
@@ -87,7 +87,7 @@ nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp,
.dentry = dget(dentry)};
int err = 0;
- err = follow_down(&path, false);
+ err = follow_down(&path);
if (err < 0)
goto out;
OpenPOWER on IntegriCloud