From: Mike Marshall Date: Fri, 4 Dec 2015 18:06:55 +0000 (-0500) Subject: Orangefs: don't expose internal details of pathname resolution to userspace. X-Git-Tag: v4.6-rc1~2^2~124 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e91f1c804328ae4d46d6509791af27bfe70d917d;p=thirdparty%2Fkernel%2Flinux.git Orangefs: don't expose internal details of pathname resolution to userspace. Signed-off-by: Mike Marshall --- diff --git a/fs/orangefs/namei.c b/fs/orangefs/namei.c index 63aa1e7fbdb6f..9f82eb3778574 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__,