[PATCH OLK-5.10] quota: Fix potential NULL pointer dereference