From 8b8691ef70f37d42100f502604ef94b8b9e5f5f8 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Tue, 10 Nov 2009 02:32:50 +0000 Subject: cluster/stripe: local was not being set in stripe_mknod_ifreg_setxattr_cbk() Signed-off-by: Vijay Bellur Signed-off-by: Anand V. Avati BUG: 367 (GlusterFS crash while doing mknod in stripe setup) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=367 --- xlators/cluster/stripe/src/stripe.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/cluster') 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; -- cgit