From 1f296b84e6c7bf55fc81d0c1dade7ccda75229a6 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Fri, 17 Feb 2012 17:22:59 +0530 Subject: cluster/distribute: send the right 'dict' for check_is_linkfile() earlier we were using 'check_is_linkfile_wo_dict()' for readdirp_cbk(), which is no more required now. Change-Id: I52295e08f8c494b7a081cfc684164a7f72562d0d Signed-off-by: Amar Tumballi BUG: 794641 Reviewed-on: http://review.gluster.com/2763 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- xlators/cluster/dht/src/dht-common.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'xlators/cluster/dht/src/dht-common.h') diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index 2ccdea74..798d5b6d 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -287,10 +287,6 @@ typedef enum { == DHT_LINKFILE_MODE) && \ dict_get (x, DHT_LINKFILE_KEY)) -#define check_is_linkfile_wo_dict(i,s) ( \ - ((st_mode_from_ia ((s)->ia_prot, (s)->ia_type) & ~S_IFMT) \ - == DHT_LINKFILE_MODE)) - #define IS_DHT_MIGRATION_PHASE2(buf) ( \ IA_ISREG ((buf)->ia_type) && \ ((st_mode_from_ia ((buf)->ia_prot, (buf)->ia_type) & \ -- cgit