erofs: move packed inode out of the compression part
authorJingbo Xu <jefflexu@linux.alibaba.com>
Fri, 7 Apr 2023 14:17:06 +0000 (22:17 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Sun, 16 Apr 2023 17:15:51 +0000 (01:15 +0800)
commita97a218b08868029507272a8fc6b52491a157ec5
tree934b69b17e6612aab8036cf2da37932e8a7f79f2
parenteb2c5e41be1495cf7a20ff49df473b1c45b82e77
erofs: move packed inode out of the compression part

packed inode could be used in more scenarios which are independent of
compression in the future.

For example, packed inode could be used to keep extra long xattr
prefixes with the help of following patches.

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