summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-common.c
diff options
context:
space:
mode:
authorSusant Palai <spalai@redhat.com>2019-01-09 16:57:21 +0530
committerAmar Tumballi <amarts@redhat.com>2019-01-10 09:48:14 +0000
commitd1231f00dc176bb9f4583b0a69b81f7e16a74eb5 (patch)
tree2471daab0568d5177dd6fdfdaf3d7a2b367060e9 /xlators/cluster/dht/src/dht-common.c
parentc45050fcdf749706dcaa74c86f43493cdbf254d4 (diff)
dht: Add NULL check for stbuf in dht_rmdir_lookup_cbk
Change-Id: I2ced288113a369cc6497a77ac1871007df434da4 fixes: bz#1664647 Signed-off-by: Susant Palai <spalai@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.c')
-rw-r--r--xlators/cluster/dht/src/dht-common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c
index 14849ccf3ba..4bbecc708ad 100644
--- a/xlators/cluster/dht/src/dht-common.c
+++ b/xlators/cluster/dht/src/dht-common.c
@@ -9823,8 +9823,7 @@ dht_rmdir_lookup_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
if (op_ret != 0) {
gf_msg(this->name, GF_LOG_WARNING, op_errno, DHT_MSG_FILE_LOOKUP_FAILED,
- "lookup failed for %s on %s (type=0%o)", local->loc.path,
- src->name, stbuf->ia_type);
+ "lookup failed for %s on %s", local->loc.path, src->name);
goto err;
}