erofs: make erofs_{err,info}() support NULL sb parameter
authorChunhai Guo <guochunhai@vivo.com>
Wed, 3 Jan 2024 12:32:02 +0000 (05:32 -0700)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 10 Jan 2024 11:59:39 +0000 (19:59 +0800)
commitaa12a790d31be14b289d5a2c6f41ca535fcc7841
treefc62a1aadaa675c0405c0dace2766fd77888e46b
parent496530c7c1dfc159d59a75ae00b572f570710c53
erofs: make erofs_{err,info}() support NULL sb parameter

Make erofs_err() and erofs_info() support NULL sb parameter for more
general usage.

Suggested-by: Gao Xiang <xiang@kernel.org>
Signed-off-by: Chunhai Guo <guochunhai@vivo.com>
Link: https://lore.kernel.org/r/20240103123202.3054718-1-guochunhai@vivo.com
Reviewed-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/decompressor_deflate.c
fs/erofs/super.c