Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255081
b: refs/heads/master
c: 19495f7
h: refs/heads/master
i:
  255079: 03d4af8
v: v3
  • Loading branch information
Anatolij Gustschin authored and Artem Bityutskiy committed Jul 8, 2011
1 parent 0f8e368 commit ad6eaba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a7fa94a9fe26a4925914083a31b5387bca530eb1
refs/heads/master: 19495f70d1ebcdc732dd3c94f5968a4bff198ae5
3 changes: 2 additions & 1 deletion trunk/fs/ubifs/recovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ int ubifs_recover_master_node(struct ubifs_info *c)
if (cor1)
goto out_err;
mst = mst1;
} else if (offs1 == 0 && offs2 + sz >= c->leb_size) {
} else if (offs1 == 0 &&
c->leb_size - offs2 - sz < sz) {
/* 1st LEB was unmapped and written, 2nd not */
if (cor1)
goto out_err;
Expand Down

0 comments on commit ad6eaba

Please sign in to comment.