summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Wareing <rwareing@fb.com>2015-10-19 19:29:55 -0700
committerJeff Darcy <jeff@pl.atyp.us>2017-08-01 02:26:45 +0000
commiteac58993014a23276adf036da91f14efbfe6c84f (patch)
tree529a70a48219e3c07423221782f1321e407d349e
parent7c422b6fd0028300f7b46a084bcd5123c2439cc9 (diff)
features/quota: Fix brick crash in quota unlink callback
Summary: - Get log message to use loc.gfid not loc.inode->gfid Test Plan: - Run prove -v tests/basic/quota*.t Reviewers: dph, moox, sshreyas Reviewed By: sshreyas Signature: t1:2559107:1445311668:61ca5809fa977326d0fb503e874363a29cd31dfe Change-Id: Iad16d7b2102376380eb0f6918111249af370aaeb Reviewed-on: https://review.gluster.org/17938 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Jeff Darcy <jeff@pl.atyp.us> Tested-by: Jeff Darcy <jeff@pl.atyp.us> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
-rw-r--r--xlators/features/quota/src/quota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c
index dd7bf809e21..2e68b318a9c 100644
--- a/xlators/features/quota/src/quota.c
+++ b/xlators/features/quota/src/quota.c
@@ -2200,7 +2200,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;
}