summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnand V. Avati <avati@amp.gluster.com>2009-05-22 02:10:30 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-05-22 01:21:17 -0700
commitbbce052d47e5f17a476379f5de6925ae795465bb (patch)
tree9ba80bad6c80f061dcec2e9110c794522e5d7240
parentbebe16ae8db873474d43d751cca484cca6ed2715 (diff)
THIS: bootstrap @THIS in fuse thread
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c2
1 files changed, 2 insertions, 0 deletions
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);