diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2015-05-13 14:25:44 +0200 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-05-28 19:24:41 -0700 |
commit | 5364a02d2dbb116952086958010ec508956b259b (patch) | |
tree | 0d2ffbd1e80cc32f98b1e4b07d2e5bb04ff5d287 /libglusterfs | |
parent | bef714fa854536bf4a40d9d83a11945cb21248cb (diff) |
protocol/client,server: Move EEXIST logs in mkdir and mknod to DEBUG level
Backport of: http://review.gluster.org/10791
Change-Id: I096296f0b97f62f49577ca698ae34e28cce4a4b4
BUG: 1225919
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/10973
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'libglusterfs')
-rw-r--r-- | libglusterfs/src/common-utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libglusterfs/src/common-utils.c b/libglusterfs/src/common-utils.c index fc4ae123916..4bcef6ae33f 100644 --- a/libglusterfs/src/common-utils.c +++ b/libglusterfs/src/common-utils.c @@ -3669,6 +3669,10 @@ fop_log_level (glusterfs_fop_t fop, int op_errno) return GF_LOG_DEBUG; } + if (fop == GF_FOP_MKNOD || fop == GF_FOP_MKDIR) + if (op_errno == EEXIST) + return GF_LOG_DEBUG; + return GF_LOG_ERROR; } |