summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2013-08-08 18:46:27 +0530
committerKrutika Dhananjay <kdhananj@redhat.com>2013-08-08 18:47:09 +0530
commit7f7e77956499f447695af2458582effd3adf08d1 (patch)
treee3138d98e2616f4ee7419addce6ed0c595ab352d
parent143106cf796435f8dfa24342666502fbf7a153a6 (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");