From 2da625ddd39ea3818da60c625cd578cb65c904aa Mon Sep 17 00:00:00 2001 From: Krutika Dhananjay Date: Thu, 8 Aug 2013 18:46:27 +0530 Subject: quota: Fix initialisation of priv Original-author: Vijay Bellur Change-Id: Iea21ef1cdfb78c79482ad02f81734516b7818714 Signed-off-by: Krutika Dhananjay --- xlators/features/quota/src/quota.c | 2 ++ 1 file changed, 2 insertions(+) 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"); -- cgit