[PATCH 5.10 140/238] quota: Fix potential NULL pointer dereference