gfs2: Remove unnecessary gfs2_rlist_alloc parameter
authorBob Peterson <rpeterso@redhat.com>
Wed, 3 Oct 2018 23:06:23 +0000 (00:06 +0100)
committerBob Peterson <rpeterso@redhat.com>
Fri, 12 Oct 2018 12:32:28 +0000 (07:32 -0500)
commitc3abc29e54a14953ddb26feeb62dd02d57925e52
tree9c51608500533df96e235afd35ad6d526fdb7903
parentec23df2b0cf3e1620f5db77972b7fb735f267eff
gfs2: Remove unnecessary gfs2_rlist_alloc parameter

The state parameter of gfs2_rlist_alloc is set to LM_ST_EXCLUSIVE in all
calls, so remove it and hardcode that state in gfs2_rlist_alloc instead.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Reviewed-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/dir.c
fs/gfs2/rgrp.c
fs/gfs2/rgrp.h
fs/gfs2/xattr.c