]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
erofs: using domain_id in the safer way
authorHongbo Li <lihongbo22@huawei.com>
Fri, 23 Jan 2026 01:31:27 +0000 (01:31 +0000)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 23 Jan 2026 12:02:09 +0000 (20:02 +0800)
commite77762e8966c9466a84b22680ad04880dab11914
tree0fad71f5dd99bed02522577ba396b8f92fae1787
parent78331814a502b6b27ccf57dcd09801d2b48709e1
erofs: using domain_id in the safer way

Either the existing fscache usecase or the upcoming page
cache sharing case, the `domain_id` should be protected as
sensitive information, so we use the safer helpers to allocate,
free and display domain_id.

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Documentation/filesystems/erofs.rst
fs/erofs/fscache.c
fs/erofs/super.c