OSDN Git Service

erofs: add helpers to load long xattr name prefixes
authorJingbo Xu <jefflexu@linux.alibaba.com>
Fri, 7 Apr 2023 14:17:08 +0000 (22:17 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Sun, 16 Apr 2023 17:15:52 +0000 (01:15 +0800)
commit9e382914617c5cab89a01a223b8d00bbd43ad3b3
treeb2c5eb1084e5bbbc5533443bf1bb7f46ac62cc73
parentb3bfcb9dbfff3da26a63efc60558acd60b96392a
erofs: add helpers to load long xattr name prefixes

Long xattr name prefixes will be scanned upon mounting and the in-memory
long xattr name prefix array will be initialized accordingly.

Signed-off-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Acked-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20230407141710.113882-6-jefflexu@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/internal.h
fs/erofs/super.c
fs/erofs/xattr.c
fs/erofs/xattr.h