summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2013-08-08 18:46:27 +0530
committerKrishnan Parthasarathi <kparthas@redhat.com>2013-08-12 00:48:15 +0530
commit2da625ddd39ea3818da60c625cd578cb65c904aa (patch)
treea5c8dd8ceda0d16cb294fe3eb96c9cf075f315f0
parentdb801a8b8ab1e5c16e84ea71ed8746a09c988e1f (diff)
quota: Fix initialisation of priv
Original-author: Vijay Bellur <vbellur@redhat.com> Change-Id: Iea21ef1cdfb78c79482ad02f81734516b7818714 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
-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");