diff options
-rw-r--r-- | xlators/features/quota/src/quota.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c index bb5dc7aba1d..4beaae34188 100644 --- a/xlators/features/quota/src/quota.c +++ b/xlators/features/quota/src/quota.c @@ -1075,12 +1075,12 @@ quota_lookup (call_frame_t *frame, xlator_t *this, loc_t *loc, priv = this->private; + WIND_IF_QUOTAOFF (priv->is_quota_on, off); + xattr_req = xattr_req ? dict_ref(xattr_req) : dict_new(); if (!xattr_req) goto err; - WIND_IF_QUOTAOFF (priv->is_quota_on, off); - local = quota_local_new (); if (local == NULL) { goto err; |