summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/src/marker-quota.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-06-08 23:37:22 +0000
committerAnand Avati <avati@gluster.com>2011-06-16 09:15:28 -0700
commite719518e561033af0ffd07d0c8ad7d777715fe89 (patch)
tree8ede0ce4fbe1985dcbc749fd786c75de8cae00d5 /xlators/features/marker/src/marker-quota.c
parentdad63fa8ac00397e337f328b0bb7b641e2680932 (diff)
fixing some build issues in Mac OS X
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2966 (MacOSX compile failure: duplicate symbol _k) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2966
Diffstat (limited to 'xlators/features/marker/src/marker-quota.c')
-rw-r--r--xlators/features/marker/src/marker-quota.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/xlators/features/marker/src/marker-quota.c b/xlators/features/marker/src/marker-quota.c
index 18d76dc58..4662c989d 100644
--- a/xlators/features/marker/src/marker-quota.c
+++ b/xlators/features/marker/src/marker-quota.c
@@ -1655,7 +1655,6 @@ quota_xattr_state (xlator_t *this,
{
if (buf.ia_type == IA_IFREG ||
buf.ia_type == IA_IFLNK) {
- k ++;
inspect_file_xattr (this, loc, dict, buf);
} else if (buf.ia_type == IA_IFDIR)
inspect_directory_xattr (this, loc, dict, buf);
@@ -1913,8 +1912,6 @@ out:
int32_t
init_quota_priv (xlator_t *this)
{
- strcpy (volname, "quota");
-
return 0;
}