summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunaid <junaid@gluster.com>2011-05-17 06:29:22 +0000
committerAnand Avati <avati@gluster.com>2011-05-30 01:49:44 -0700
commitdbd9dfdba36bee1a249c0e29edbfe0ded59e8c2d (patch)
tree500a757a4477ce2166387b60917386118a1c6925
parentf2d0baecfffe96231b52304ad0560c0697150fff (diff)
cluster/stripe: Fix a typo in strncmp.
Signed-off-by: Junaid <junaid@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2760 (Quota: stripe volume not showing the quota size properly) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2760
-rw-r--r--xlators/cluster/stripe/src/stripe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c
index 39b0e88fd..d60c3cdc2 100644
--- a/xlators/cluster/stripe/src/stripe.c
+++ b/xlators/cluster/stripe/src/stripe.c
@@ -4340,7 +4340,7 @@ stripe_getxattr (call_frame_t *frame, xlator_t *this,
}
if (name && strncmp (name, GF_XATTR_QUOTA_SIZE_KEY,
- strlen (GF_XATTR_QUOTA_SIZE_KEY) == 0)) {
+ strlen (GF_XATTR_QUOTA_SIZE_KEY)) == 0) {
local->wind_count = priv->child_count;
for (i = 0, trav=this->children; i < priv->child_count; i++,