summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix.c
diff options
context:
space:
mode:
authorVijay Bellur <vbellur@redhat.com>2013-10-14 11:50:40 +0530
committerAnand Avati <avati@redhat.com>2013-10-15 01:32:48 -0700
commit0c129ad25c007d574e9c7e45f47e6ba7075f4bfa (patch)
treeedcaa66614e220d73ad4c5347f0970f44d0352f3 /xlators/storage/posix/src/posix.c
parent1cf925670768383044588fa162d65be8545224ce (diff)
storage/posix: Lower log severity for ENODATA errors in getxattr()
Change-Id: I101e329cce4c1305615c63ebcb42355f6c3e85e0 BUG: 918052 Signed-off-by: Vijay Bellur <vbellur@redhat.com> Reviewed-on: http://review.gluster.org/6084 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src/posix.c')
-rw-r--r--xlators/storage/posix/src/posix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index 6bb743931..163ec928e 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -2879,7 +2879,8 @@ posix_getxattr (call_frame_t *frame, xlator_t *this,
"supported (try remounting"
" brick with 'user_xattr' "
"flag)");
- } else if (op_errno == ENOATTR) {
+ } else if (op_errno == ENOATTR ||
+ op_errno == ENODATA) {
gf_log (this->name, GF_LOG_DEBUG,
"No such attribute:%s for file %s",
key, real_path);