summaryrefslogtreecommitdiffstats
path: root/xlators/features/quota/src/quota.h
diff options
context:
space:
mode:
authorJunaid <junaid@gluster.com>2011-03-31 04:28:43 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-31 05:04:32 -0700
commit3b5195cfa4976e1d83646b70b0f08f583a7a1094 (patch)
tree0ca877ef9fe9a085a517f48fb8d6e3284fd94ec1 /xlators/features/quota/src/quota.h
parent1c148f85c5abf561faeb68c699a13c8bd683de5e (diff)
features/quota: Use appropriate inodes while logging and create contexts in inode for files.
- It also fixes limit checks if limit set in the directory. Signed-off-by: Junaid <junaid@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 2604 (Quota: crossing the set limit) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2604
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 1f0546d4e..d53894ab4 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;
};