diff options
Diffstat (limited to 'fs/gfs2/log.c')
-rw-r--r-- | fs/gfs2/log.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c index 32a41a274bf8..e6a84f7a9b71 100644 --- a/fs/gfs2/log.c +++ b/fs/gfs2/log.c | |||
@@ -597,8 +597,6 @@ void gfs2_log_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) | |||
597 | sdp->sd_vfs->s_dirt = 1; | 597 | sdp->sd_vfs->s_dirt = 1; |
598 | unlock_from_trans(sdp); | 598 | unlock_from_trans(sdp); |
599 | 599 | ||
600 | kfree(tr); | ||
601 | |||
602 | gfs2_log_lock(sdp); | 600 | gfs2_log_lock(sdp); |
603 | if (sdp->sd_log_num_buf > gfs2_tune_get(sdp, gt_incore_log_blocks)) { | 601 | if (sdp->sd_log_num_buf > gfs2_tune_get(sdp, gt_incore_log_blocks)) { |
604 | gfs2_log_unlock(sdp); | 602 | gfs2_log_unlock(sdp); |