erofs: derive fsid from on-disk UUID for .statfs() if possible
authorHongzhen Luo <hongzhen@linux.alibaba.com>
Tue, 9 Apr 2024 11:30:22 +0000 (19:30 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 8 May 2024 09:12:51 +0000 (17:12 +0800)
commit1872df8dcd87bd1e623e1a70076d08636b9c473d
treefa177e05aa0cf8a10e5baf4ad7093ef5a00e8df2
parent0f6273ab46375b62c8dd5c987ce7c15877602831
erofs: derive fsid from on-disk UUID for .statfs() if possible

Use the superblock's UUID to generate the fsid when it's non-null.

Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Signed-off-by: Hongzhen Luo <hongzhen@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240409113022.74720-1-hongzhen@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/super.c