mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 00:39:48 +00:00
UBIFS: print verbose message when rescanning a corrupted node
This is a trivial fix of showing verbose message when leb-recovery detects a corrupted node, which is not the last one in the LEB. Rescan expects to show more detail of the corrupted node. Reviewed-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com> Signed-off-by: Sheng Yong <shengyong1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
8f6983abe3
commit
be186cc4de
1 changed files with 1 additions and 1 deletions
|
@ -789,7 +789,7 @@ struct ubifs_scan_leb *ubifs_recover_leb(struct ubifs_info *c, int lnum,
|
||||||
corrupted_rescan:
|
corrupted_rescan:
|
||||||
/* Re-scan the corrupted data with verbose messages */
|
/* Re-scan the corrupted data with verbose messages */
|
||||||
ubifs_err(c, "corruption %d", ret);
|
ubifs_err(c, "corruption %d", ret);
|
||||||
ubifs_scan_a_node(c, buf, len, lnum, offs, 1);
|
ubifs_scan_a_node(c, buf, len, lnum, offs, 0);
|
||||||
corrupted:
|
corrupted:
|
||||||
ubifs_scanned_corruption(c, lnum, offs, buf);
|
ubifs_scanned_corruption(c, lnum, offs, buf);
|
||||||
err = -EUCLEAN;
|
err = -EUCLEAN;
|
||||||
|
|
Loading…
Reference in a new issue