quota: Fix deadlock during path resolution