diff options
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) | |||
474 | gfs2_trans_add_gl(bd->bd_gl); | 474 | gfs2_trans_add_gl(bd->bd_gl); |
475 | list_add(&bd->bd_list_tr, &tr->tr_list_buf); | 475 | list_add(&bd->bd_list_tr, &tr->tr_list_buf); |
476 | gfs2_pin(sdp, bd->bd_bh); | 476 | gfs2_pin(sdp, bd->bd_bh); |
477 | tr->tr_num_buf_new++; | ||
477 | } | 478 | } |
478 | gfs2_log_lock(sdp); | 479 | gfs2_log_lock(sdp); |
479 | if (!list_empty(&le->le_list)) { | 480 | if (!list_empty(&le->le_list)) { |