Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312994
b: refs/heads/master
c: 7074e5e
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Artem Bityutskiy committed Jul 20, 2012
1 parent a365fdf commit 42f17be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: d51f17ea0a3afe11fb4c4ad6635877e24df2758f
refs/heads/master: 7074e5eb233343e4bad8c0a3f9e73167cf85a159
4 changes: 2 additions & 2 deletions trunk/fs/ubifs/orphan.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ int ubifs_orphan_start_commit(struct ubifs_info *c)
*last = orphan;
last = &orphan->cnext;
}
*last = orphan->cnext;
*last = NULL;
c->cmt_orphans = c->new_orphans;
c->new_orphans = 0;
dbg_cmt("%d orphans to commit", c->cmt_orphans);
Expand Down Expand Up @@ -382,7 +382,7 @@ static int consolidate(struct ubifs_info *c)
last = &orphan->cnext;
cnt += 1;
}
*last = orphan->cnext;
*last = NULL;
ubifs_assert(cnt == c->tot_orphans - c->new_orphans);
c->cmt_orphans = cnt;
c->ohead_lnum = c->orph_first;
Expand Down

0 comments on commit 42f17be

Please sign in to comment.