summaryrefslogtreecommitdiffstats
path: root/xlators/features/quota/src/quota.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/quota/src/quota.h')
-rw-r--r--xlators/features/quota/src/quota.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/features/quota/src/quota.h b/xlators/features/quota/src/quota.h
index 7ced27a618..f0a5d4ed27 100644
--- a/xlators/features/quota/src/quota.h
+++ b/xlators/features/quota/src/quota.h
@@ -47,7 +47,8 @@
#define QUOTA_WIND_FOR_INTERNAL_FOP(xdata, label) \
do { \
- if (xdata && dict_get(xdata, GLUSTERFS_INTERNAL_FOP_KEY)) \
+ if (xdata && dict_getn(xdata, GLUSTERFS_INTERNAL_FOP_KEY, \
+ SLEN(GLUSTERFS_INTERNAL_FOP_KEY))) \
goto label; \
} while (0)