summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,
ORANGEFS_NAME_MAX);
gossip_debug(GOSSIP_NAME_DEBUG,
- "%s: doing lookup on %s under %pU,%d (follow=%s)\n",
+ "%s: doing lookup on %s under %pU,%d\n",
__func__,
new_op->upcall.req.lookup.d_name,
&new_op->upcall.req.lookup.parent_refn.khandle,
- new_op->upcall.req.lookup.parent_refn.fs_id,
- ((new_op->upcall.req.lookup.sym_follow ==
- ORANGEFS_LOOKUP_LINK_FOLLOW) ? "yes" : "no"));
+ new_op->upcall.req.lookup.parent_refn.fs_id);
ret = service_operation(new_op, __func__, get_interruptible_flag(dir));
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 {
};
#define ORANGEFS_LOOKUP_LINK_NO_FOLLOW 0
-#define ORANGEFS_LOOKUP_LINK_FOLLOW 1
/* pint-dev.h ***************************************************************/