[GFS2] Make the new argument to gfs2_trans_add_bh() actually do something

Passes the flag through to ensure that the correct log operations are
invoked when the flag is set.

Signed-off-by: Steven Whitehouse: <swhiteho@redhat.com>
This commit is contained in:
Steven Whitehouse
2006-01-18 11:32:00 +00:00
parent d4e9c4c3bf
commit 586dfdaaf3
3 changed files with 9 additions and 6 deletions

View File

@ -151,7 +151,7 @@ void gfs2_trans_add_bh(struct gfs2_glock *gl, struct buffer_head *bh, int meta)
if (bd)
gfs2_assert(sdp, bd->bd_gl == gl);
else {
gfs2_meta_attach_bufdata(gl, bh);
gfs2_attach_bufdata(gl, bh, meta);
bd = get_v2bd(bh);
}