diff options
-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 6ecbc91ef9ac..e2714f8f05ff 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, | |||
695 | ubifs_err("corrupt empty space LEB %d:%d, corruption " | 695 | ubifs_err("corrupt empty space LEB %d:%d, corruption " |
696 | "starts at %d", lnum, offs, corruption); | 696 | "starts at %d", lnum, offs, corruption); |
697 | /* Make sure we dump interesting non-0xFF data */ | 697 | /* Make sure we dump interesting non-0xFF data */ |
698 | offs = corruption; | 698 | offs += corruption; |
699 | buf += corruption; | 699 | buf += corruption; |
700 | goto corrupted; | 700 | goto corrupted; |
701 | } | 701 | } |