mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-02 07:11:12 +00:00
UBIFS: fix LEB number in printk
This is a minor patch which fixes the LEB number we print when corrupted empty space is found. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
This commit is contained in:
parent
8c559d30b4
commit
10ac279702
@ -695,7 +695,7 @@ struct ubifs_scan_leb *ubifs_recover_leb(struct ubifs_info *c, int lnum,
|
|||||||
ubifs_err("corrupt empty space LEB %d:%d, corruption "
|
ubifs_err("corrupt empty space LEB %d:%d, corruption "
|
||||||
"starts at %d", lnum, offs, corruption);
|
"starts at %d", lnum, offs, corruption);
|
||||||
/* Make sure we dump interesting non-0xFF data */
|
/* Make sure we dump interesting non-0xFF data */
|
||||||
offs = corruption;
|
offs += corruption;
|
||||||
buf += corruption;
|
buf += corruption;
|
||||||
goto corrupted;
|
goto corrupted;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user