summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/stripe
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2009-11-10 02:32:50 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-12 01:10:52 -0800
commit8b8691ef70f37d42100f502604ef94b8b9e5f5f8 (patch)
tree1a208a89c30876da3b8c3cd21f679f3d1e2b9f7a /xlators/cluster/stripe
parent9bbe8d4cd989d331409e174cefd38caed41b0ea0 (diff)
cluster/stripe: local was not being set in stripe_mknod_ifreg_setxattr_cbk()
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 367 (GlusterFS crash while doing mknod in stripe setup) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=367
Diffstat (limited to 'xlators/cluster/stripe')
-rw-r--r--xlators/cluster/stripe/src/stripe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c
index bd81661942d..253d2f8f17f 100644
--- a/xlators/cluster/stripe/src/stripe.c
+++ b/xlators/cluster/stripe/src/stripe.c
@@ -1549,6 +1549,8 @@ stripe_mknod_ifreg_setxattr_cbk (call_frame_t *frame, void *cookie,
xlator_list_t *trav = NULL;
priv = this->private;
+ local = frame->local;
+
LOCK (&frame->lock);
{
callcnt = --local->call_count;