From ad715122329d06d73a215c97ceb6221c31c09f7c Mon Sep 17 00:00:00 2001 From: Mohammed Rafi KC Date: Tue, 12 Jan 2016 12:54:42 +0530 Subject: fuse: send lookup if inode_ctx is not set During resolving of an entry or inode, if inode ctx was not set, we will send a lookup. This patch also make sure that inode_ctx will be created after every inode_link Back port of> >Change-Id: I4211533ca96a51b89d9f010fc57133470e52dc11 >BUG: 1297311 >Signed-off-by: Mohammed Rafi KC >Reviewed-on: http://review.gluster.org/13225 >Reviewed-by: Dan Lambright Change-Id: I53d7f77b5b9a9e095aeeccdd3605dcce7eade0b2 BUG: 1306131 Tested-by: Dan Lambright Reviewed-on: http://review.gluster.org/13416 Smoke: Gluster Build System Tested-by: mohammed rafi kc NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Dan Lambright --- libglusterfs/src/inode.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libglusterfs/src/inode.h') diff --git a/libglusterfs/src/inode.h b/libglusterfs/src/inode.h index 96025b9ec43..1a714c64ce5 100644 --- a/libglusterfs/src/inode.h +++ b/libglusterfs/src/inode.h @@ -19,6 +19,9 @@ #include #include +#define LOOKUP_NEEDED 1 +#define LOOKUP_NOT_NEEDED 2 + #define DEFAULT_INODE_MEMPOOL_ENTRIES 32 * 1024 #define INODE_PATH_FMT "" struct _inode_table; -- cgit