From e5e0d223ada35d6bdb1790054fcbf34273b7949c Mon Sep 17 00:00:00 2001 From: Shreyas Siravara Date: Tue, 5 Dec 2017 07:43:40 -0800 Subject: features/quota: Fix brick crash in quota unlink callback Change-Id: Iad16d7b2102376380eb0f6918111249af370aaeb BUG: 1521014 Signed-off-by: Shreyas Siravara --- xlators/features/quota/src/quota.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/features') diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c index a3078453f78..e8335e63c1c 100644 --- a/xlators/features/quota/src/quota.c +++ b/xlators/features/quota/src/quota.c @@ -2195,7 +2195,7 @@ quota_unlink_cbk (call_frame_t *frame, void *cookie, xlator_t *this, gf_msg (this->name, GF_LOG_INFO, EINVAL, Q_MSG_INODE_CTX_GET_FAILED, "quota context not set inode (gfid:%s)", - uuid_utoa (local->loc.inode->gfid)); + uuid_utoa (local->loc.gfid)); goto out; } -- cgit