gfs2: move qdsb_put and reduce redundancy
authorBob Peterson <rpeterso@redhat.com>
Fri, 16 Jun 2023 17:36:51 +0000 (12:36 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 5 Sep 2023 13:58:18 +0000 (15:58 +0200)
commita4d22e337d022d7bb8da25c18629bac2af24ec81
treeffa47d5bbe7e76b0ab4207be4df33a33ffe66590
parent03d468f1c0469707086f260d4544a2552c7bfa6e
gfs2: move qdsb_put and reduce redundancy

This patch looks more invasive than it is. It simply moves function
qdsb_put before qd_unlock, then changes qd_unlock to call it rather than
open coding it. Again, this reduces redundancy.

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