Avoid unnecessary #ifdefs and simplify the code a bit.
Signed-off-by: Hongzhen Luo
---
fs/erofs/internal.h | 3 ---
fs/erofs/super.c| 28
2 files changed, 8 insertions(+), 23 deletions(-)
diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h
index
Use the superblock's UUID to generate the fsid when it's non-null.
Reviewed-by: Gao Xiang
Reviewed-by: Jingbo Xu
Signed-off-by: Hongzhen Luo
---
v2: update the conversion of UUID to fsid, which looks
cleaner.
v1:
https://lore.kernel.org/all/20240409081135.6102-1-hongz
在 2024/4/9 17:36, Jingbo Xu 写道:
On 4/9/24 4:11 PM, Hongzhen Luo wrote:
Use the superblock's UUID to generate the fsid when it's non-null.
Signed-off-by: Hongzhen Luo
---
fs/erofs/super.c | 12 +---
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/fs/erofs/super.c b
Use the superblock's UUID to generate the fsid when it's non-null.
Signed-off-by: Hongzhen Luo
---
fs/erofs/super.c | 12 +---
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/fs/erofs/super.c b/fs/erofs/super.c
index c0eb139adb07..83bd8ee3b5ba 100644
--- a/fs/erofs/super.c