summaryrefslogtreecommitdiff
path: root/fs/gfs2/trans.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-04-26 22:58:26 +0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-04-26 22:58:26 +0400
commit579b78a43b366d51f9c888afaf1eab1f4ea599fa (patch)
tree023e4893b71b35d312a1df18129b296934710d5c /fs/gfs2/trans.c
parent5965b1f4792a1a9364b4e1ed6be8778a50eb981b (diff)
downloadlinux-579b78a43b366d51f9c888afaf1eab1f4ea599fa.tar.xz
[GFS2] Remove GL_NEVER_RECURSE flag
There is no point in keeping this flag since recursion is not now allowed for any glock. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/trans.c')
-rw-r--r--fs/gfs2/trans.c3
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,
sizeof(uint64_t));
INIT_LIST_HEAD(&tr->tr_list_buf);
- gfs2_holder_init(sdp->sd_trans_gl, LM_ST_SHARED,
- GL_NEVER_RECURSE, &tr->tr_t_gh);
+ gfs2_holder_init(sdp->sd_trans_gl, LM_ST_SHARED, 0, &tr->tr_t_gh);
error = gfs2_glock_nq(&tr->tr_t_gh);
if (error)