diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2013-08-08 18:46:27 +0530 |
---|---|---|
committer | Krutika Dhananjay <kdhananj@redhat.com> | 2013-08-08 18:47:09 +0530 |
commit | 7f7e77956499f447695af2458582effd3adf08d1 (patch) | |
tree | e3138d98e2616f4ee7419addce6ed0c595ab352d /xlators | |
parent | 143106cf796435f8dfa24342666502fbf7a153a6 (diff) |
quota: Fix initialisation of priv
Original-author: Vijay Bellur <vbellur@redhat.com>
Change-Id: Iea21ef1cdfb78c79482ad02f81734516b7818714
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/features/quota/src/quota.c | 2 |
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"); |