mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
fs/erofs: silence erofs_probe()
fs_set_blk_dev() probes all file-systems until it finds one that matches
the volume. We do not expect any console output for non-matching
file-systems.
Convert error messages in erofs_read_superblock() to debug output.
Fixes: 830613f8f5
("fs/erofs: add erofs filesystem support")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Huang Jianan <jnhuang95@gmail.com>
This commit is contained in:
parent
7a7176fa3b
commit
f508fad36d
1 changed files with 2 additions and 2 deletions
|
@ -65,14 +65,14 @@ int erofs_read_superblock(void)
|
|||
|
||||
ret = erofs_blk_read(data, 0, 1);
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue