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.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/xlators/features/quota/src/quota.h b/xlators/features/quota/src/quota.h
index 1f0546d4e87..d53894ab48f 100644
--- a/xlators/features/quota/src/quota.h
+++ b/xlators/features/quota/src/quota.h
@@ -107,13 +107,6 @@
_vol_name, _gfid_unparsed); \
} while (0)
-#define GET_SIZE_KEY_OR_GOTO(var, _vol_name, label) \
- do { \
- ret = gf_asprintf (var, QUOTA_XATTR_PREFIX \
- "%s." SIZE, _vol_name); \
- if (ret == -1) \
- goto label; \
- } while (0)
#define GET_CONTRI_KEY_OR_GOTO(var, _vol_name, _gfid, label) \
do { \
@@ -167,7 +160,6 @@ struct quota_local {
typedef struct quota_local quota_local_t;
struct quota_priv {
- char *size_key;
int64_t timeout;
struct list_head limit_head;
};