* [PATCH v2] erofs: add sysfs feature entry for xattr prefixes
@ 2026-09-01 6:22 Jingbo Xu
2026-09-01 7:32 ` Gao Xiang
0 siblings, 1 reply; 2+ messages in thread
From: Jingbo Xu @ 2026-09-01 6:22 UTC (permalink / raw)
To: xiang, chao, linux-erofs; +Cc: linux-kernel, stable
Let /sys/fs/erofs/features/xattr_prefixes advertise that this kernel
supports the EROFS_FEATURE_INCOMPAT_XATTR_PREFIXES on-disk format.
Fixes: 6a318ccd7e08 ("erofs: enable long extended attribute name prefixes")
Cc: <stable@vger.kernel.org> # 6.4+
Signed-off-by: Jingbo Xu <jefflexu@linux.alibaba.com>
---
changes since v1:
- add Fixes tag and versioned Cc-stable tag
---
fs/erofs/sysfs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/erofs/sysfs.c b/fs/erofs/sysfs.c
index 6734483a440f..dfcec9376cd5 100644
--- a/fs/erofs/sysfs.c
+++ b/fs/erofs/sysfs.c
@@ -95,6 +95,7 @@ EROFS_ATTR_FEATURE(sb_chksum);
EROFS_ATTR_FEATURE(ztailpacking);
EROFS_ATTR_FEATURE(fragments);
EROFS_ATTR_FEATURE(dedupe);
+EROFS_ATTR_FEATURE(xattr_prefixes);
EROFS_ATTR_FEATURE(48bit);
EROFS_ATTR_FEATURE(metabox);
@@ -108,6 +109,7 @@ static struct attribute *erofs_feat_attrs[] = {
ATTR_LIST(ztailpacking),
ATTR_LIST(fragments),
ATTR_LIST(dedupe),
+ ATTR_LIST(xattr_prefixes),
ATTR_LIST(48bit),
ATTR_LIST(metabox),
NULL,
--
2.19.1.6.gb485710b
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH v2] erofs: add sysfs feature entry for xattr prefixes
2026-09-01 6:22 [PATCH v2] erofs: add sysfs feature entry for xattr prefixes Jingbo Xu
@ 2026-09-01 7:32 ` Gao Xiang
0 siblings, 0 replies; 2+ messages in thread
From: Gao Xiang @ 2026-09-01 7:32 UTC (permalink / raw)
To: Jingbo Xu; +Cc: xiang, chao, linux-erofs, linux-kernel, stable
On Tue, Sep 01, 2026 at 02:22:43PM +0800, Jingbo Xu wrote:
> Let /sys/fs/erofs/features/xattr_prefixes advertise that this kernel
> supports the EROFS_FEATURE_INCOMPAT_XATTR_PREFIXES on-disk format.
>
> Fixes: 6a318ccd7e08 ("erofs: enable long extended attribute name prefixes")
> Cc: <stable@vger.kernel.org> # 6.4+
> Signed-off-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Gao Xiang <xiang@kernel.org>
Thanks,
Gao Xiang
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-01 7:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-01 6:22 [PATCH v2] erofs: add sysfs feature entry for xattr prefixes Jingbo Xu
2026-09-01 7:32 ` Gao Xiang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®