gfs2: Fix initial quota data refcount
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 24 Aug 2023 12:52:29 +0000 (14:52 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 5 Sep 2023 13:58:17 +0000 (15:58 +0200)
commitbb73ae8ff394f767a8acbc99a1d682b874ba5e74
treebf296e8d7b828898ee0491e43eff69d5f5ef5356
parentfae2e73a5537e40ebae9a00e6548101e5ab2441f
gfs2: Fix initial quota data refcount

Fix the refcount of quota data objects created directly by
gfs2_quota_init(): those are placed into the in-memory quota "database"
for eventual syncing to the main quota file, but they are not actively
held and should thus have an initial refcount of 0.

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