]> www.infradead.org Git - users/jedix/linux-maple.git/commit
erofs: initialize decompression early
authorGao Xiang <hsiangkao@linux.alibaba.com>
Mon, 17 Mar 2025 05:48:40 +0000 (13:48 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Mon, 17 Mar 2025 06:02:08 +0000 (14:02 +0800)
commitfe1e57d44d7f106df9048e815e4862cf63921220
tree3bcb43b2681d855cc47f107f66c4cd9ac78f2464
parente9dfe33aea4fb43f4681134d5044bcdebb26a327
erofs: initialize decompression early

 - Rename erofs_init_managed_cache() to z_erofs_init_super();
 - Move the initialization of managed_pslots into z_erofs_init_super() too;
 - Move z_erofs_init_super() and packed inode preparation upwards, before
   the root inode initialization.

Therefore, the root directory can also be compressible.

Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Acked-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20250317054840.3483000-1-hsiangkao@linux.alibaba.com
fs/erofs/internal.h
fs/erofs/super.c
fs/erofs/zdata.c