From fee2dff744664fd367ba2017e8eab904a32e1f50 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Tue, 23 Feb 2016 08:03:17 +0100 Subject: [PATCH] Lower log level for xattr op error with errno ENOTSUP --- src/internfile/extrameta.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/internfile/extrameta.cpp b/src/internfile/extrameta.cpp index b526f18f..fede2e54 100644 --- a/src/internfile/extrameta.cpp +++ b/src/internfile/extrameta.cpp @@ -50,7 +50,13 @@ void reapXAttrs(const RclConfig* cfg, const string& path, // Retrieve xattrs names from files and mapping table from config vector xnames; if (!pxattr::list(path, &xnames)) { - LOGERR(("FileInterner::reapXattrs: pxattr::list: errno %d\n", errno)); + if (errno == ENOTSUP) { + LOGDEB(("FileInterner::reapXattrs: pxattr::list: errno %d\n", + errno)); + } else { + LOGERR(("FileInterner::reapXattrs: pxattr::list: errno %d\n", + errno)); + } return; } const map& xtof = cfg->getXattrToField();