From caf768863e2a411ede373164e861b0bf6b707bcc Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Wed, 15 Jan 2025 23:30:24 +0000 Subject: [PATCH] file-has-acl: handle listxattr returning ENOTSUP listxattr() was seen to return ENOTSUP on virtiofs, which resulted in ls outputting "Not supported" errors. * lib/file-has-acl.c (aclinfo_may_indicate_xattr): Treat any non valid acl errno as being inconclusive as to whether there are xattrs available. --- ChangeLog | 9 +++++++++ lib/file-has-acl.c | 7 ++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b195f7f80b..4fd072f1a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2025-01-15 Pádraig Brady
+
+ file-has-acl: handle listxattr returning ENOTSUP
+ listxattr() was seen to return ENOTSUP on virtiofs,
+ which resulted in ls outputting "Not supported" errors.
+ * lib/file-has-acl.c (aclinfo_may_indicate_xattr): Treat any
+ non valid acl errno as being inconclusive as to whether there
+ are xattrs available.
+
2025-01-15 Collin Funk