diff options
Diffstat (limited to 'fs/gfs2/trans.c')
-rw-r--r-- | fs/gfs2/trans.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/trans.c b/fs/gfs2/trans.c index 6b02d8c38f0f..18c606d07126 100644 --- a/fs/gfs2/trans.c +++ b/fs/gfs2/trans.c | |||
@@ -50,8 +50,7 @@ int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, | |||
50 | sizeof(uint64_t)); | 50 | sizeof(uint64_t)); |
51 | INIT_LIST_HEAD(&tr->tr_list_buf); | 51 | INIT_LIST_HEAD(&tr->tr_list_buf); |
52 | 52 | ||
53 | gfs2_holder_init(sdp->sd_trans_gl, LM_ST_SHARED, | 53 | gfs2_holder_init(sdp->sd_trans_gl, LM_ST_SHARED, 0, &tr->tr_t_gh); |
54 | GL_NEVER_RECURSE, &tr->tr_t_gh); | ||
55 | 54 | ||
56 | error = gfs2_glock_nq(&tr->tr_t_gh); | 55 | error = gfs2_glock_nq(&tr->tr_t_gh); |
57 | if (error) | 56 | if (error) |