Force single-threaded operation

The codebase is not thread safe, so limit to single-thread operation
until this can be improved.
This commit is contained in:
Tor Arne Vestbø
2019-05-22 14:44:35 +02:00
parent 3cfb00979a
commit 414f30f268

View File

@@ -536,6 +536,7 @@ int main(int argc, char **argv)
fuse_opt_parse(&args, &sparsebundle, sparsebundle_options, sparsebundle_opt_proc);
fuse_opt_add_arg(&args, "-oro"); // Force read-only mount
fuse_opt_add_arg(&args, "-s"); // Force single-threaded operation
if (!sparsebundle.path || !sparsebundle.mountpoint)
return sparsebundle_show_usage(argv[0]);