]> git.ipfire.org Git - thirdparty/linux.git/commit
erofs: clean up erofs_ishare_fill_inode()
authorGao Xiang <hsiangkao@linux.alibaba.com>
Sun, 7 Jun 2026 17:21:32 +0000 (01:21 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 17 Jun 2026 03:19:51 +0000 (11:19 +0800)
commit1ccc75909ca7c3b52163b408a3e1eb5453db013f
tree46ffc0a8a92357fb5aab46b79023e6e54dc0de70
parent4549871118cf616eecdd2d939f78e3b9e1dddc48
erofs: clean up erofs_ishare_fill_inode()

 - Use the shorthand `si` to replace the overly long `sharedinode`;

 - Introduce erofs_warn() and get rid of barely-used _erofs_printk();

 - Get rid of the variable `hash`;

 - Simplify error paths.

Reviewed-by: Hongbo Li <lihongbo22@huawei.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/internal.h
fs/erofs/ishare.c