Lower log level for xattr op error with errno ENOTSUP
This commit is contained in:
parent
3ed3f1db0d
commit
08a810986c
@ -50,7 +50,13 @@ void reapXAttrs(const RclConfig* cfg, const string& path,
|
|||||||
// Retrieve xattrs names from files and mapping table from config
|
// Retrieve xattrs names from files and mapping table from config
|
||||||
vector<string> xnames;
|
vector<string> xnames;
|
||||||
if (!pxattr::list(path, &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;
|
return;
|
||||||
}
|
}
|
||||||
const map<string, string>& xtof = cfg->getXattrToField();
|
const map<string, string>& xtof = cfg->getXattrToField();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user