]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcff481ffa905b6689afb0f40e3ff4913cb2a4ee5
treea9146d140fb095b6a9ed5364d3b616af32ea4eda
parentabf38fee5113e5bc7f4fbbf9cc87ad3da33141b3
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