summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/common-utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h
index 057c4aeb8dc..235db5fe34b 100644
--- a/libglusterfs/src/common-utils.h
+++ b/libglusterfs/src/common-utils.h
@@ -287,6 +287,10 @@ int gf_set_log_ident (cmd_args_t *cmd_args);
if (gf_uuid_is_null (u))\
GF_ASSERT (!"uuid null");
+#define GF_IGNORE_IF_GSYNCD_SAFE_ERROR(frame, op_errno) \
+ (((frame->root->pid == GF_CLIENT_PID_GSYNCD) && \
+ (op_errno == EEXIST || op_errno == ENOENT))?0:1) \
+
union gf_sock_union {
struct sockaddr_storage storage;
struct sockaddr_in6 sin6;