Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305145
b: refs/heads/master
c: 4994297
h: refs/heads/master
i:
  305143: 2f8efdc
v: v3
  • Loading branch information
Artem Bityutskiy committed May 20, 2012
1 parent aea7684 commit 119c5d7
Show file tree
Hide file tree
Showing 2 changed files with 7 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: a6aae4dd0ffad299a33d122f8a339b399bee5381
refs/heads/master: 499429760650018216eb8d0b35067cf2c5c4520b
8 changes: 6 additions & 2 deletions trunk/fs/ubifs/lpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1740,16 +1740,20 @@ int ubifs_lpt_init(struct ubifs_info *c, int rd, int wr)
if (rd) {
err = lpt_init_rd(c);
if (err)
return err;
goto out_err;
}

if (wr) {
err = lpt_init_wr(c);
if (err)
return err;
goto out_err;
}

return 0;

out_err:
ubifs_lpt_free(c, 0);
return err;
}

/**
Expand Down

0 comments on commit 119c5d7

Please sign in to comment.