From dbd9dfdba36bee1a249c0e29edbfe0ded59e8c2d Mon Sep 17 00:00:00 2001 From: Junaid Date: Tue, 17 May 2011 06:29:22 +0000 Subject: cluster/stripe: Fix a typo in strncmp. Signed-off-by: Junaid Signed-off-by: Anand Avati BUG: 2760 (Quota: stripe volume not showing the quota size properly) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2760 --- xlators/cluster/stripe/src/stripe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++, -- cgit