diff options
Diffstat (limited to 'fs/jbd/transaction.c')
| -rw-r--r-- | fs/jbd/transaction.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/fs/jbd/transaction.c b/fs/jbd/transaction.c index 13cb05bf6048..429f4b263cf1 100644 --- a/fs/jbd/transaction.c +++ b/fs/jbd/transaction.c | |||
| @@ -227,8 +227,7 @@ repeat_locked: | |||
| 227 | spin_unlock(&transaction->t_handle_lock); | 227 | spin_unlock(&transaction->t_handle_lock); |
| 228 | spin_unlock(&journal->j_state_lock); | 228 | spin_unlock(&journal->j_state_lock); |
| 229 | out: | 229 | out: |
| 230 | if (new_transaction) | 230 | kfree(new_transaction); |
| 231 | kfree(new_transaction); | ||
| 232 | return ret; | 231 | return ret; |
| 233 | } | 232 | } |
| 234 | 233 | ||
| @@ -725,8 +724,7 @@ done: | |||
| 725 | journal_cancel_revoke(handle, jh); | 724 | journal_cancel_revoke(handle, jh); |
| 726 | 725 | ||
| 727 | out: | 726 | out: |
| 728 | if (frozen_buffer) | 727 | kfree(frozen_buffer); |
| 729 | kfree(frozen_buffer); | ||
| 730 | 728 | ||
| 731 | JBUFFER_TRACE(jh, "exit"); | 729 | JBUFFER_TRACE(jh, "exit"); |
| 732 | return error; | 730 | return error; |
| @@ -905,8 +903,7 @@ repeat: | |||
| 905 | jbd_unlock_bh_state(bh); | 903 | jbd_unlock_bh_state(bh); |
| 906 | out: | 904 | out: |
| 907 | journal_put_journal_head(jh); | 905 | journal_put_journal_head(jh); |
| 908 | if (committed_data) | 906 | kfree(committed_data); |
| 909 | kfree(committed_data); | ||
| 910 | return err; | 907 | return err; |
| 911 | } | 908 | } |
| 912 | 909 | ||
