summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/stripe/src/stripe.c
diff options
context:
space:
mode:
authorMohammed Junaid Ahmed <junaid@gluster.com>2011-06-01 00:15:13 +0000
committerAnand Avati <avati@gluster.com>2011-06-01 00:30:05 -0700
commit05c4dced826b80ad3e6f2f24125ae7643394f171 (patch)
treec1f04c44fc07c2e45624aefabaaddc42d155059d /xlators/cluster/stripe/src/stripe.c
parent25b960346c22eff76cb456b97a828b84bd8fad38 (diff)
cluster/stripe: Fix a typo in strncmp.v3.2.1qa2
Signed-off-by: Junaid <junaid@gluster.com> Signed-off-by: Amar Tumballi <amar@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
Diffstat (limited to 'xlators/cluster/stripe/src/stripe.c')
-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 8fd1000b3..50815abe5 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++,