mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
protect every fuse call by mutexes to allow mounting without -s option
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
#include <fuse/fuse.h>
|
||||
#include <stddef.h>
|
||||
#include <sys/types.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#include "../mfapi/mfconn.h"
|
||||
#include "hashtbl.h"
|
||||
#include "../utils/stringv.h"
|
||||
@@ -37,6 +39,7 @@ struct mediafirefs_context_private {
|
||||
folder_tree *tree;
|
||||
time_t last_status_check;
|
||||
time_t interval_status_check;
|
||||
pthread_mutex_t mutex;
|
||||
char *configfile;
|
||||
char *dircache;
|
||||
char *filecache;
|
||||
|
||||
Reference in New Issue
Block a user