mirror of
https://github.com/torarnv/sparsebundlefs.git
synced 2026-03-03 18:28:07 +01:00
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:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user