erofs: rename utils.c to zutil.c
authorChunhai Guo <guochunhai@vivo.com>
Mon, 1 Apr 2024 13:55:50 +0000 (07:55 -0600)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 8 May 2024 09:12:49 +0000 (17:12 +0800)
commitcacd5b04e24c74a813c694ec7b26a1a370b5d666
treec7ee6564cbd6cc08026773e83f4710713e152d6f
parentdd5a440a31fae6e459c0d6271dddd62825505361
erofs: rename utils.c to zutil.c

Currently, utils.c is only useful if CONFIG_EROFS_FS_ZIP is on.
So let's rename it to zutil.c as well as avoid its inclusion if
CONFIG_EROFS_FS_ZIP is explicitly disabled.

Signed-off-by: Chunhai Guo <guochunhai@vivo.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240401135550.2550043-1-guochunhai@vivo.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/Makefile
fs/erofs/utils.c [deleted file]
fs/erofs/zutil.c [new file with mode: 0644]