diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-03-01 17:41:58 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-03-01 17:41:58 -0500 |
commit | b4dc72911d149d7d6b7ffb512bd68906f1cbd33a (patch) | |
tree | 2b00b45b2c63eac9b3aa3b353f1ba44b9a14582d /fs/gfs2/log.c | |
parent | c9fd43078f5007c6ca6b3a9cd04c51a8f0e44a20 (diff) | |
download | op-kernel-dev-b4dc72911d149d7d6b7ffb512bd68906f1cbd33a.zip op-kernel-dev-b4dc72911d149d7d6b7ffb512bd68906f1cbd33a.tar.gz |
[GFS2] Fix some bugs
Fix a bug I introduced earlier with a kfree() and usage of
a structure in the wrong order. Also try and get the counts
of the journaled data buffers "more correct". Still some work
to do in this area though.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
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 32a41a2..e6a84f7 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) sdp->sd_vfs->s_dirt = 1; unlock_from_trans(sdp); - kfree(tr); - gfs2_log_lock(sdp); if (sdp->sd_log_num_buf > gfs2_tune_get(sdp, gt_incore_log_blocks)) { gfs2_log_unlock(sdp); |