Skip to content

Commit

Permalink
Merge pull request #2350 from symphorien/xattr-cifs
Browse files Browse the repository at this point in the history
ignore when listxattr fails with ENODATA
  • Loading branch information
edolstra authored Aug 13, 2018
2 parents f72c907 + 5b19a66 commit 746cf2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstore/local-store.cc
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ static void canonicalisePathMetaData_(const Path & path, uid_t fromUid, InodesSe
ssize_t eaSize = llistxattr(path.c_str(), nullptr, 0);

if (eaSize < 0) {
if (errno != ENOTSUP)
if (errno != ENOTSUP && errno != ENODATA)
throw SysError("querying extended attributes of '%s'", path);
} else if (eaSize > 0) {
std::vector<char> eaBuf(eaSize);
Expand Down

0 comments on commit 746cf2d

Please sign in to comment.