projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e0058f
)
*** empty log message ***
author
Miklos Szeredi
<miklos@szeredi.hu>
Wed, 10 Nov 2004 11:12:08 +0000
(11:12 +0000)
committer
Miklos Szeredi
<miklos@szeredi.hu>
Wed, 10 Nov 2004 11:12:08 +0000
(11:12 +0000)
lib/fuse.c
patch
|
blob
|
history
lib/fuse_mt.c
patch
|
blob
|
history
diff --git
a/lib/fuse.c
b/lib/fuse.c
index f609326319eaccdd97577058735412371d202cb2..22d650920dd2ef92b7f75b0a89ac58630e95423d 100644
(file)
--- a/
lib/fuse.c
+++ b/
lib/fuse.c
@@
-1618,7
+1618,7
@@
int fuse_loop(struct fuse *f)
struct fuse_cmd *cmd;
if (__fuse_exited(f))
-
return 0
;
+
break
;
cmd = __fuse_read_cmd(f);
if (cmd == NULL)
@@
-1626,6
+1626,7
@@
int fuse_loop(struct fuse *f)
__fuse_process_cmd(f, cmd);
}
+ f->exited = 0;
return 0;
}
diff --git
a/lib/fuse_mt.c
b/lib/fuse_mt.c
index 345da33a8875467c7ec47b8358e84ee4d86f9402..58ec847d3189260b240d8ec91729b4935efc3b18 100644
(file)
--- a/
lib/fuse_mt.c
+++ b/
lib/fuse_mt.c
@@
-178,6
+178,7
@@
int __fuse_loop_mt(struct fuse *f, fuse_processor_t proc, void *data)
pthread_mutex_unlock(&f->lock);
mt_delete_context_key();
free(w);
+ f->exited = 0;
return 0;
}