From e719518e561033af0ffd07d0c8ad7d777715fe89 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Wed, 8 Jun 2011 23:37:22 +0000 Subject: fixing some build issues in Mac OS X Signed-off-by: Amar Tumballi Signed-off-by: Anand Avati BUG: 2966 (MacOSX compile failure: duplicate symbol _k) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2966 --- xlators/features/marker/src/marker-quota.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'xlators/features/marker/src/marker-quota.h') diff --git a/xlators/features/marker/src/marker-quota.h b/xlators/features/marker/src/marker-quota.h index 802c1d922af..ea433a455ec 100644 --- a/xlators/features/marker/src/marker-quota.h +++ b/xlators/features/marker/src/marker-quota.h @@ -32,11 +32,9 @@ #define QUOTA_DIRTY_KEY "trusted.glusterfs.quota.dirty" #define CONTRIBUTION "contri" -#define VOL_NAME volname #define CONTRI_KEY_MAX 512 #define READDIR_BUF 4096 -char volname [40]; #define QUOTA_STACK_DESTROY(_frame, _this) \ do { \ @@ -79,7 +77,7 @@ char volname [40]; char _gfid_unparsed[40]; \ uuid_unparse (_gfid, _gfid_unparsed); \ _ret = snprintf (var, CONTRI_KEY_MAX, QUOTA_XATTR_PREFIX \ - ".%s.%s." CONTRIBUTION, VOL_NAME, \ + ".%s.%s." CONTRIBUTION, "quota", \ _gfid_unparsed); \ } while (0); -- cgit