From 3bd5ea6baa8d1b42e4a16f1f3d36e38537a5d45a Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Thu, 8 Aug 2013 16:18:31 +0530 Subject: features/quota: fixes to code reading limits from xattrs. It was assumed that hard and soft limits are stored as two different xattrs on disk. However they are stored as two members of a structure which is stored as a value for a single key. Change-Id: I947fa5c375209c31fe1511bda0d5cb0e249af9ba BUG: 969461 Signed-off-by: Raghavendra G --- libglusterfs/src/glusterfs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libglusterfs/src/glusterfs.h') diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index 3985e004..50620573 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -114,8 +114,7 @@ #define GLUSTERFS_PARENT_ENTRYLK "glusterfs.parent-entrylk" #define GLUSTERFS_INODELK_DOM_COUNT "glusterfs.inodelk-dom-count" #define QUOTA_SIZE_KEY "trusted.glusterfs.quota.size" -#define QUOTA_HARD_LIMIT_KEY "trusted.glusterfs.quota.hard-limit" -#define QUOTA_SOFT_LIMIT_KEY "trusted.glusterfs.quota.soft-limit" +#define QUOTA_LIMIT_KEY "trusted.glusterfs.quota.limit-set" #define GFID_TO_PATH_KEY "glusterfs.gfid2path" #define GF_XATTR_STIME_PATTERN "trusted.glusterfs.*.stime" -- cgit