提交 773ed1a0 编写于 作者: R Robert Peterson 提交者: Steven Whitehouse

[GFS2] Addendum to the journaled file/unmount patch

This patch is an addendum to the previous journaled file/unmount patch.
It fixes a problem discovered during testing.
Signed-off-by: NBob Peterson <rpeterso@redhat.com>
Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
上级 eaf5bd3c
...@@ -472,8 +472,10 @@ static void databuf_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) ...@@ -472,8 +472,10 @@ static void databuf_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le)
return; return;
} }
tr->tr_touched = 1; tr->tr_touched = 1;
tr->tr_num_buf++; if (gfs2_is_jdata(ip)) {
list_add(&bd->bd_list_tr, &tr->tr_list_buf); tr->tr_num_buf++;
list_add(&bd->bd_list_tr, &tr->tr_list_buf);
}
gfs2_log_unlock(sdp); gfs2_log_unlock(sdp);
if (!list_empty(&le->le_list)) if (!list_empty(&le->le_list))
return; return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册