summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/features/quota/src/quota.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c
index b0e9d0c4..94f3183c 100644
--- a/xlators/features/quota/src/quota.c
+++ b/xlators/features/quota/src/quota.c
@@ -1430,6 +1430,8 @@ quota_link_helper (call_frame_t *frame, xlator_t *this, loc_t *oldloc,
int32_t op_errno = EINVAL;
quota_priv_t *priv = NULL;
+ priv = this->private;
+
local = frame->local;
if (local == NULL) {
gf_log (this->name, GF_LOG_WARNING, "local is NULL");