orangefs: we never lookup with sym_follow set
authorMartin Brandenburg <martin@omnibond.com>
Sat, 20 Feb 2016 19:47:13 +0000 (14:47 -0500)
committerMike Marshall <hubcap@omnibond.com>
Wed, 24 Feb 2016 22:07:51 +0000 (17:07 -0500)
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/namei.c
fs/orangefs/protocol.h

index f26f6694c48d5e92f3ce4ab772267fccf21a11a2..650ff299738bc22bd7e8be8e7c3527ff4dcef47d 100644 (file)
@@ -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));
 
index 6ac0c60c9f5e220e569e8403997b45872c4ac9bd..45ce4ff4cbc79b6c9a1d324a7e0794ce2b94ddfc 100644 (file)
@@ -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 ***************************************************************/