summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/namei.c
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2015-12-04 13:06:55 -0500
committerMike Marshall <hubcap@omnibond.com>2015-12-04 13:06:55 -0500
commite91f1c804328ae4d46d6509791af27bfe70d917d (patch)
tree058748f40bd1b5a8ac6fc43ba62359431a2590ea /fs/orangefs/namei.c
parent575e946125f70c41c2042f10172842c5cab9a09a (diff)
downloadop-kernel-dev-e91f1c804328ae4d46d6509791af27bfe70d917d.zip
op-kernel-dev-e91f1c804328ae4d46d6509791af27bfe70d917d.tar.gz
Orangefs: don't expose internal details of pathname resolution to userspace.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/namei.c')
-rw-r--r--fs/orangefs/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/orangefs/namei.c b/fs/orangefs/namei.c
index 63aa1e7..9f82eb3 100644
--- a/fs/orangefs/namei.c
+++ b/fs/orangefs/namei.c
@@ -113,7 +113,7 @@ static struct dentry *orangefs_lookup(struct inode *dir, struct dentry *dentry,
if (!new_op)
return ERR_PTR(-ENOMEM);
- new_op->upcall.req.lookup.sym_follow = flags & LOOKUP_FOLLOW;
+ new_op->upcall.req.lookup.sym_follow = PVFS2_LOOKUP_LINK_NO_FOLLOW;
gossip_debug(GOSSIP_NAME_DEBUG, "%s:%s:%d using parent %pU\n",
__FILE__,
OpenPOWER on IntegriCloud