diff options
Diffstat (limited to 'fs/jbd/commit.c')
| -rw-r--r-- | fs/jbd/commit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/jbd/commit.c b/fs/jbd/commit.c index a003d50edcdb..a263d82761df 100644 --- a/fs/jbd/commit.c +++ b/fs/jbd/commit.c | |||
| @@ -375,7 +375,7 @@ void journal_commit_transaction(journal_t *journal) | |||
| 375 | struct buffer_head *bh = jh2bh(jh); | 375 | struct buffer_head *bh = jh2bh(jh); |
| 376 | 376 | ||
| 377 | jbd_lock_bh_state(bh); | 377 | jbd_lock_bh_state(bh); |
| 378 | jbd_slab_free(jh->b_committed_data, bh->b_size); | 378 | jbd_free(jh->b_committed_data, bh->b_size); |
| 379 | jh->b_committed_data = NULL; | 379 | jh->b_committed_data = NULL; |
| 380 | jbd_unlock_bh_state(bh); | 380 | jbd_unlock_bh_state(bh); |
| 381 | } | 381 | } |
| @@ -792,14 +792,14 @@ restart_loop: | |||
| 792 | * Otherwise, we can just throw away the frozen data now. | 792 | * Otherwise, we can just throw away the frozen data now. |
| 793 | */ | 793 | */ |
| 794 | if (jh->b_committed_data) { | 794 | if (jh->b_committed_data) { |
| 795 | jbd_slab_free(jh->b_committed_data, bh->b_size); | 795 | jbd_free(jh->b_committed_data, bh->b_size); |
| 796 | jh->b_committed_data = NULL; | 796 | jh->b_committed_data = NULL; |
| 797 | if (jh->b_frozen_data) { | 797 | if (jh->b_frozen_data) { |
| 798 | jh->b_committed_data = jh->b_frozen_data; | 798 | jh->b_committed_data = jh->b_frozen_data; |
| 799 | jh->b_frozen_data = NULL; | 799 | jh->b_frozen_data = NULL; |
| 800 | } | 800 | } |
| 801 | } else if (jh->b_frozen_data) { | 801 | } else if (jh->b_frozen_data) { |
| 802 | jbd_slab_free(jh->b_frozen_data, bh->b_size); | 802 | jbd_free(jh->b_frozen_data, bh->b_size); |
| 803 | jh->b_frozen_data = NULL; | 803 | jh->b_frozen_data = NULL; |
| 804 | } | 804 | } |
| 805 | 805 | ||
