]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: Change BUG_ON to an assert_withdraw in gfs2_quota_change
authorBob Peterson <rpeterso@redhat.com>
Tue, 5 May 2020 16:50:24 +0000 (11:50 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 8 May 2020 16:45:12 +0000 (18:45 +0200)
commit58543a05f1a548ed7a8570312b0c9c744649b9b0
treec0ef43ea9a8c168aa00a233265625014aa40dec8
parent8aacbf60b468f5c49dae397524be5b045c71b93c
gfs2: Change BUG_ON to an assert_withdraw in gfs2_quota_change

Before this patch, gfs2_quota_change() would BUG_ON if the
qa_ref counter was not a positive number. This patch changes it to
be a withdraw instead. That way we can debug things more easily.

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