From 05c4dced826b80ad3e6f2f24125ae7643394f171 Mon Sep 17 00:00:00 2001 From: Mohammed Junaid Ahmed Date: Wed, 1 Jun 2011 00:15:13 +0000 Subject: cluster/stripe: Fix a typo in strncmp. Signed-off-by: Junaid Signed-off-by: Amar Tumballi 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 8fd1000b381..50815abe588 100644 --- a/xlators/cluster/stripe/src/stripe.c +++ b/xlators/cluster/stripe/src/stripe.c @@ -4328,7 +4328,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