diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index 2298e06797ac..4ae07c6cee98 100644 --- a/fs/gfs2/quota.c +++ b/fs/gfs2/quota.c @@ -1517,7 +1517,8 @@ void gfs2_quota_cleanup(struct gfs2_sbd *sdp) int count; BUG_ON(!test_bit(SDF_NORECOVERY, &sdp->sd_flags) && - test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)); + !gfs2_withdrawing_or_withdrawn(sdp) && + test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)); spin_lock(&qd_lock); list_for_each_entry(qd, &sdp->sd_quota_list, qd_list) {