]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
erofs: move erofs_workgroup operations into zdata.c
authorGao Xiang <hsiangkao@linux.alibaba.com>
Mon, 21 Oct 2024 03:53:22 +0000 (11:53 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Mon, 18 Nov 2024 10:50:12 +0000 (18:50 +0800)
commit9c91f959626e6d9f460b8906e27c37fca1b6456a
treeded47e488edb67b37f5d65688c861e4c2096e049
parentb091e8ed24b7965953147a389bac1dc7c3e8a11c
erofs: move erofs_workgroup operations into zdata.c

Move related helpers into zdata.c as an intermediate step of getting
rid of `struct erofs_workgroup`, and rename:

 erofs_workgroup_put => z_erofs_put_pcluster
 erofs_workgroup_get => z_erofs_get_pcluster
 erofs_try_to_release_workgroup => erofs_try_to_release_pcluster
 erofs_shrink_workstation => z_erofs_shrink_scan

Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20241021035323.3280682-2-hsiangkao@linux.alibaba.com
fs/erofs/internal.h
fs/erofs/zdata.c
fs/erofs/zutil.c