OSDN Git Service

gfs2: simplify slot_get
authorBob Peterson <rpeterso@redhat.com>
Wed, 28 Jun 2023 12:40:30 +0000 (07:40 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 5 Sep 2023 13:58:18 +0000 (15:58 +0200)
commit9ab7b78a13aff5bcb3b76380f551ed5cf4125280
tree9500b1b42f198be22d40b906c7f0c9eb68e15f2d
parent8f190c97a4f559bc7e8db739026ebb2d0f53ebed
gfs2: simplify slot_get

Simplify function slot_get and get rid of the goto that jumps into the
middle of an else branch.

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