From 0c129ad25c007d574e9c7e45f47e6ba7075f4bfa Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Mon, 14 Oct 2013 11:50:40 +0530 Subject: storage/posix: Lower log severity for ENODATA errors in getxattr() Change-Id: I101e329cce4c1305615c63ebcb42355f6c3e85e0 BUG: 918052 Signed-off-by: Vijay Bellur Reviewed-on: http://review.gluster.org/6084 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- xlators/storage/posix/src/posix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index 6bb74393173..163ec928e95 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); -- cgit