Merge tag 'v2023.10-rc3' into next
Prepare v2023.10-rc3 Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -68,14 +68,14 @@ int erofs_read_superblock(void)
|
||||
|
||||
ret = erofs_blk_read(data, 0, erofs_blknr(sizeof(data)));
|
||||
if (ret < 0) {
|
||||
erofs_err("cannot read erofs superblock: %d", ret);
|
||||
erofs_dbg("cannot read erofs superblock: %d", ret);
|
||||
return -EIO;
|
||||
}
|
||||
dsb = (struct erofs_super_block *)(data + EROFS_SUPER_OFFSET);
|
||||
|
||||
ret = -EINVAL;
|
||||
if (le32_to_cpu(dsb->magic) != EROFS_SUPER_MAGIC_V1) {
|
||||
erofs_err("cannot find valid erofs superblock");
|
||||
erofs_dbg("cannot find valid erofs superblock");
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user