diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2012-10-17 16:45:45 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2012-10-28 20:26:45 -0700 |
commit | 232adb88512274863c9f5ad51569695af80bd6c0 (patch) | |
tree | 1e78687a743cf4374a08e30d42a99ae7d4164d80 /xlators/protocol/server | |
parent | 8534cd56d8633c9468f337372d78c436263f36f6 (diff) |
protocols: Suppress getxattr log when errno is ENOENT
Change-Id: I3f4fe3f382aec5fd142cc409b80bd73aebd8b39b
BUG: 861015
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/4097
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/protocol/server')
-rw-r--r-- | xlators/protocol/server/src/server-rpc-fops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server-rpc-fops.c b/xlators/protocol/server/src/server-rpc-fops.c index 422ed318880..06cdc02db56 100644 --- a/xlators/protocol/server/src/server-rpc-fops.c +++ b/xlators/protocol/server/src/server-rpc-fops.c @@ -819,7 +819,8 @@ server_getxattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this, if (op_ret == -1) { gf_log (this->name, (((op_errno == ENOTSUP) || - (op_errno == ENODATA)) ? + (op_errno == ENODATA) || + (op_errno == ENOENT)) ? GF_LOG_DEBUG : GF_LOG_INFO), "%"PRId64": GETXATTR %s (%s) (%s) ==> (%s)", frame->root->unique, state->loc.path, |