gfs2: remove redundant check in gfs2_rgrp_go_lock
authorBob Peterson <rpeterso@redhat.com>
Mon, 13 Sep 2021 17:34:38 +0000 (12:34 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 25 Oct 2021 06:42:17 +0000 (08:42 +0200)
commit6edb6ba333d31bb42d9ab8b1b6ff1c5ecbc3813c
treea9146d140fb095b6a9ed5364d3b616af32ea4eda
parentb01b2d72da25c000aeb124bc78daf3fb998be2b6
gfs2: remove redundant check in gfs2_rgrp_go_lock

Before this patch, function gfs2_rgrp_go_lock checked if GL_SKIP and
ar_rgrplvb were both true. However, GL_SKIP is only set for rgrps if
ar_rgrplvb is true (see gfs2_inplace_reserve). This patch simply removes
the redundant check.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/rgrp.c