From bbce052d47e5f17a476379f5de6925ae795465bb Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Fri, 22 May 2009 02:10:30 +0000 Subject: THIS: bootstrap @THIS in fuse thread Signed-off-by: Anand V. Avati --- xlators/mount/fuse/src/fuse-bridge.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/mount') diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index 2a5c0cc29b8..bae95e5c9b1 100644 --- a/xlators/mount/fuse/src/fuse-bridge.c +++ b/xlators/mount/fuse/src/fuse-bridge.c @@ -2444,6 +2444,8 @@ fuse_thread_proc (void *data) priv = this->private; chan_size = fuse_chan_bufsize (priv->ch); + THIS = this; + while (!fuse_session_exited (priv->se)) { iobuf = iobuf_get (this->ctx->iobuf_pool); -- cgit