summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-common.h
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2012-02-17 17:22:59 +0530
committerAnand Avati <avati@redhat.com>2012-02-21 02:41:42 -0800
commit1f296b84e6c7bf55fc81d0c1dade7ccda75229a6 (patch)
tree44dc4ab5d7d8081f64fb4f60f544fc17f729c6c0 /xlators/cluster/dht/src/dht-common.h
parent1979cee4716fdb95909654148eebb8b0b973f484 (diff)
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 <amar@gluster.com> BUG: 794641 Reviewed-on: http://review.gluster.com/2763 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.h')
-rw-r--r--xlators/cluster/dht/src/dht-common.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h
index 2ccdea747cd..798d5b6d949 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) & \