Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250456
b: refs/heads/master
c: c49139d
h: refs/heads/master
v: v3
  • Loading branch information
Artem Bityutskiy authored and Artem Bityutskiy committed May 16, 2011
1 parent 8975eef commit 91a12b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: e76a452640dc110147f7a7da1dcfb1c5026f982d
refs/heads/master: c49139d8096dc1c392455dbc3f158b46038fc9d4
6 changes: 1 addition & 5 deletions trunk/fs/ubifs/replay.c
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,6 @@ static int replay_bud(struct ubifs_info *c, struct bud_entry *b)
int jhead = b->bud->jhead;
struct ubifs_scan_leb *sleb;
struct ubifs_scan_node *snod;
struct ubifs_bud *bud;

dbg_mnt("replay bud LEB %d, head %d, offs %d", lnum, jhead, offs);

Expand Down Expand Up @@ -608,10 +607,7 @@ static int replay_bud(struct ubifs_info *c, struct bud_entry *b)
goto out;
}

bud = ubifs_search_bud(c, lnum);
if (!bud)
BUG();

ubifs_assert(ubifs_search_bud(c, lnum));
ubifs_assert(sleb->endpt - offs >= used);
ubifs_assert(sleb->endpt % c->min_io_size == 0);

Expand Down

0 comments on commit 91a12b3

Please sign in to comment.