diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-03-01 23:41:58 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-03-01 23:41:58 +0100 |
commit | b4dc72911d149d7d6b7ffb512bd68906f1cbd33a (patch) | |
tree | 2b00b45b2c63eac9b3aa3b353f1ba44b9a14582d /fs/gfs2/lops.c | |
parent | [GFS2] Tidy up mount code. (diff) | |
download | linux-b4dc72911d149d7d6b7ffb512bd68906f1cbd33a.tar.xz linux-b4dc72911d149d7d6b7ffb512bd68906f1cbd33a.zip |
[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/lops.c')
-rw-r--r-- | fs/gfs2/lops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c index 430161a05a21..9d40e21f6ead 100644 --- a/fs/gfs2/lops.c +++ b/fs/gfs2/lops.c @@ -474,6 +474,7 @@ static void databuf_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) gfs2_trans_add_gl(bd->bd_gl); list_add(&bd->bd_list_tr, &tr->tr_list_buf); gfs2_pin(sdp, bd->bd_bh); + tr->tr_num_buf_new++; } gfs2_log_lock(sdp); if (!list_empty(&le->le_list)) { |