aboutsummaryrefslogtreecommitdiffstats
path: root/fs/orangefs
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2016-02-20 14:47:13 -0500
committerMike Marshall <hubcap@omnibond.com>2016-02-24 17:07:51 -0500
commit6ceaf7818f266d917ed61338885ddd2b77008f06 (patch)
treee1927de07e24d80c1e6551ac7cf932c25e3bac3e /fs/orangefs
parent9c2bcf288ed7f600bc3f8e7541ea0522a8912bae (diff)
orangefs: we never lookup with sym_follow set
Signed-off-by: Martin Brandenburg <martin@omnibond.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs')
-rw-r--r--fs/orangefs/namei.c6
-rw-r--r--fs/orangefs/protocol.h1
2 files changed, 2 insertions, 5 deletions
diff --git a/fs/orangefs/namei.c b/fs/orangefs/namei.c
index f26f6694c48d..650ff299738b 100644
--- a/fs/orangefs/namei.c
+++ b/fs/orangefs/namei.c
@@ -136,13 +136,11 @@ static struct dentry *orangefs_lookup(struct inode *dir, struct dentry *dentry,
136 ORANGEFS_NAME_MAX); 136 ORANGEFS_NAME_MAX);
137 137
138 gossip_debug(GOSSIP_NAME_DEBUG, 138 gossip_debug(GOSSIP_NAME_DEBUG,
139 "%s: doing lookup on %s under %pU,%d (follow=%s)\n", 139 "%s: doing lookup on %s under %pU,%d\n",
140 __func__, 140 __func__,
141 new_op->upcall.req.lookup.d_name, 141 new_op->upcall.req.lookup.d_name,
142 &new_op->upcall.req.lookup.parent_refn.khandle, 142 &new_op->upcall.req.lookup.parent_refn.khandle,
143 new_op->upcall.req.lookup.parent_refn.fs_id, 143 new_op->upcall.req.lookup.parent_refn.fs_id);
144 ((new_op->upcall.req.lookup.sym_follow ==
145 ORANGEFS_LOOKUP_LINK_FOLLOW) ? "yes" : "no"));
146 144
147 ret = service_operation(new_op, __func__, get_interruptible_flag(dir)); 145 ret = service_operation(new_op, __func__, get_interruptible_flag(dir));
148 146
diff --git a/fs/orangefs/protocol.h b/fs/orangefs/protocol.h
index 6ac0c60c9f5e..45ce4ff4cbc7 100644
--- a/fs/orangefs/protocol.h
+++ b/fs/orangefs/protocol.h
@@ -339,7 +339,6 @@ struct ORANGEFS_sys_attr_s {
339}; 339};
340 340
341#define ORANGEFS_LOOKUP_LINK_NO_FOLLOW 0 341#define ORANGEFS_LOOKUP_LINK_NO_FOLLOW 0
342#define ORANGEFS_LOOKUP_LINK_FOLLOW 1
343 342
344/* pint-dev.h ***************************************************************/ 343/* pint-dev.h ***************************************************************/
345 344