diff options
Diffstat (limited to 'xlators/storage/posix/src/posix-helpers.c')
-rw-r--r-- | xlators/storage/posix/src/posix-helpers.c | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/xlators/storage/posix/src/posix-helpers.c b/xlators/storage/posix/src/posix-helpers.c index 0af586e7777..3fa6dace327 100644 --- a/xlators/storage/posix/src/posix-helpers.c +++ b/xlators/storage/posix/src/posix-helpers.c @@ -1145,12 +1145,20 @@ posix_handle_pair (xlator_t *this, const char *real_path, value->len); #else /* ! DARWIN */ - gf_msg (this->name, GF_LOG_ERROR, errno, - P_MSG_XATTR_FAILED, "%s: key:%s" - "flags: %u length:%d", real_path, - key, flags, value->len); + if (errno == EEXIST) + gf_msg_debug (this->name, 0, + "%s: key:%s" + "flags: %u length:%d", + real_path, key, flags, + value->len); + else + gf_msg (this->name, GF_LOG_ERROR, errno, + P_MSG_XATTR_FAILED, "%s: key:%s" + "flags: %u length:%d", + real_path, key, flags, + value->len); #endif /* DARWIN */ - } + } goto out; } |