[PATCH openEuler-1.0-LTS 2/7] Revert "quota: Replace all block number checking with helper function"