diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-02-08 17:21:11 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-02-08 17:26:32 +0200 |
commit | 10ac27970274e9094aee84a6452a25bf1b7e59e1 (patch) | |
tree | 59555eec789c8bb22c6bddfdf997586e10f7fb2c | |
parent | 8c559d30b4e59cf6994215ada1fe744928f494bf (diff) | |
download | op-kernel-dev-10ac27970274e9094aee84a6452a25bf1b7e59e1.zip op-kernel-dev-10ac27970274e9094aee84a6452a25bf1b7e59e1.tar.gz |
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>
-rw-r--r-- | fs/ubifs/recovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/recovery.c b/fs/ubifs/recovery.c index 6ecbc91..e2714f8 100644 --- 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; } |