Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168543
b: refs/heads/master
c: 7b02bec
h: refs/heads/master
i:
  168541: 3768d69
  168539: 4a3920c
  168535: 0a162ee
  168527: 2ed6953
  168511: 0e89899
v: v3
  • Loading branch information
Tao Ma authored and Jan Kara committed Nov 11, 2009
1 parent 8994676 commit 00505fd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe8bc91c4c30122b357d197117705cfd4fabaf28
refs/heads/master: 7b02bec07efe1d6c7d48c786e0c1a38d28fe7245
2 changes: 2 additions & 0 deletions trunk/fs/jbd/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,7 @@ journal_t * journal_init_dev(struct block_device *bdev,

return journal;
out_err:
kfree(journal->j_wbuf);
kfree(journal);
return NULL;
}
Expand Down Expand Up @@ -820,6 +821,7 @@ journal_t * journal_init_inode (struct inode *inode)

return journal;
out_err:
kfree(journal->j_wbuf);
kfree(journal);
return NULL;
}
Expand Down
2 changes: 2 additions & 0 deletions trunk/fs/jbd2/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,7 @@ journal_t * jbd2_journal_init_dev(struct block_device *bdev,

return journal;
out_err:
kfree(journal->j_wbuf);
jbd2_stats_proc_exit(journal);
kfree(journal);
return NULL;
Expand Down Expand Up @@ -986,6 +987,7 @@ journal_t * jbd2_journal_init_inode (struct inode *inode)

return journal;
out_err:
kfree(journal->j_wbuf);
jbd2_stats_proc_exit(journal);
kfree(journal);
return NULL;
Expand Down

0 comments on commit 00505fd

Please sign in to comment.