summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/marker')
-rw-r--r--xlators/features/marker/src/marker.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/xlators/features/marker/src/marker.c b/xlators/features/marker/src/marker.c
index 0a9d3a74560..3aae155e85a 100644
--- a/xlators/features/marker/src/marker.c
+++ b/xlators/features/marker/src/marker.c
@@ -1014,10 +1014,15 @@ marker_unlink_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
if (priv->feature_enabled & GF_QUOTA) {
if (!local->skip_txn) {
- if (xdata)
+ if (xdata) {
ret = dict_get_uint32 (xdata,
GF_RESPONSE_LINK_COUNT_XDATA, &nlink);
-
+ if (ret) {
+ gf_log (this->name, GF_LOG_TRACE,
+ "dict get failed %s ",
+ strerror (-ret));
+ }
+ }
mq_reduce_parent_size_txn (this, &local->loc, NULL,
nlink);
}