fuse_commit_write(), clear the dirty flag and set the uptodate
flag for that page
+ * Some memory cleanup at exit
+
2004-07-13 Miklos Szeredi <miklos@szeredi.hu>
* Add FUSE_HARD_REMOVE flag, and '-i' option to fuse main, which
for (i = 1; i < f->numworker; i++)
pthread_cancel(w->threads[i]);
pthread_mutex_unlock(&f->lock);
+ pthread_key_delete(f->context_key);
+ free(w);
}
void fuse_loop_mt(struct fuse *f)
struct sigaction sa;
struct sigaction old_sa;
+ memset(&sa, 0, sizeof(struct sigaction));
sa.sa_handler = handler;
sigemptyset(&(sa.sa_mask));
sa.sa_flags = 0;