projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c559d3
)
UBIFS: fix LEB number in printk
author
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Tue, 8 Feb 2011 15:21:11 +0000
(17:21 +0200)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Tue, 8 Feb 2011 15:26:32 +0000
(17:26 +0200)
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>
fs/ubifs/recovery.c
patch
|
blob
|
history
diff --git
a/fs/ubifs/recovery.c
b/fs/ubifs/recovery.c
index 6ecbc91ef9ac5d5842a60cb7c59b6b03edadfa01..e2714f8f05ffea99ded1427626de8e6f30739932 100644
(file)
--- a/
fs/ubifs/recovery.c
+++ b/
fs/ubifs/recovery.c
@@
-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 "
"starts at %d", lnum, offs, corruption);
/* Make sure we dump interesting non-0xFF data */
- offs = corruption;
+ offs
+
= corruption;
buf += corruption;
goto corrupted;
}