diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2012-10-29 09:06:46 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2012-12-12 00:21:48 -0500 |
commit | 8e657bead9ca85fc88f6c8cd88fd4215c1347f0a (patch) | |
tree | c6200d6c55e3aea616f6de9bffcb78c8f886cdd3 /xlators/protocol/server/src/server3_1-fops.c | |
parent | 1a42faae4967bc0cdb7cefcfbfca45f7d0b10360 (diff) |
protocols: Suppress getxattr log when errno is ENOENT
Change-Id: I4c170464cb9aa013588d615c2916bf87c370e9dc
BUG: 861015
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/162
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Tested-by: Vijay Bellur <vbellur@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/1881
Diffstat (limited to 'xlators/protocol/server/src/server3_1-fops.c')
-rw-r--r-- | xlators/protocol/server/src/server3_1-fops.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server3_1-fops.c b/xlators/protocol/server/src/server3_1-fops.c index cf6444ff5ad..d7a1317c0ff 100644 --- a/xlators/protocol/server/src/server3_1-fops.c +++ b/xlators/protocol/server/src/server3_1-fops.c @@ -816,7 +816,9 @@ out: rsp.op_errno = gf_errno_to_error (op_errno); if (op_ret == -1) - gf_log (this->name, (((op_errno == ENOTSUP) || (op_errno == ENODATA)) ? + gf_log (this->name, (((op_errno == ENOTSUP) || + (op_errno == ENODATA) || + (op_errno == ENOENT)) ? GF_LOG_DEBUG : GF_LOG_INFO), "%"PRId64": GETXATTR %s (%s) ==> %"PRId32" (%s)", frame->root->unique, state->loc.path, |