Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ceaf781 authored by Martin Brandenburg's avatar Martin Brandenburg Committed by Mike Marshall
Browse files

orangefs: we never lookup with sym_follow set

parent 9c2bcf28
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -136,13 +136,11 @@ static struct dentry *orangefs_lookup(struct inode *dir, struct dentry *dentry,
		ORANGEFS_NAME_MAX);
		ORANGEFS_NAME_MAX);


	gossip_debug(GOSSIP_NAME_DEBUG,
	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__,
		     __func__,
		     new_op->upcall.req.lookup.d_name,
		     new_op->upcall.req.lookup.d_name,
		     &new_op->upcall.req.lookup.parent_refn.khandle,
		     &new_op->upcall.req.lookup.parent_refn.khandle,
		     new_op->upcall.req.lookup.parent_refn.fs_id,
		     new_op->upcall.req.lookup.parent_refn.fs_id);
		     ((new_op->upcall.req.lookup.sym_follow ==
		       ORANGEFS_LOOKUP_LINK_FOLLOW) ? "yes" : "no"));


	ret = service_operation(new_op, __func__, get_interruptible_flag(dir));
	ret = service_operation(new_op, __func__, get_interruptible_flag(dir));


+0 −1
Original line number Original line Diff line number Diff line
@@ -339,7 +339,6 @@ struct ORANGEFS_sys_attr_s {
};
};


#define ORANGEFS_LOOKUP_LINK_NO_FOLLOW 0
#define ORANGEFS_LOOKUP_LINK_NO_FOLLOW 0
#define ORANGEFS_LOOKUP_LINK_FOLLOW    1


/* pint-dev.h ***************************************************************/
/* pint-dev.h ***************************************************************/