Skip to content

Commit 0253327

Browse files
probonopdTheAssassin
authored andcommitted
Revert "auto_unmount (#93)"
This reverts commit 92caa2e.
1 parent 61e6688 commit 0253327

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/runtime/runtime.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,6 @@ int fusefs_main(int argc, char* argv[], void (* mounted)(void)) {
10141014
sqfs_ll* ll;
10151015
struct fuse_opt fuse_opts[] = {
10161016
{"offset=%zu", offsetof(sqfs_opts, offset), 0},
1017-
{"auto_unmount", 0},
10181017
{"timeout=%u", offsetof(sqfs_opts, idle_timeout_secs), 0},
10191018
{"fsname=squashfuse", 0},
10201019
{"subtype=squashfuse", 0},
@@ -1047,7 +1046,7 @@ int fusefs_main(int argc, char* argv[], void (* mounted)(void)) {
10471046
opts.image = NULL;
10481047
opts.mountpoint = 0;
10491048
opts.offset = 0;
1050-
opts.idle_timeout_secs = 1;
1049+
opts.idle_timeout_secs = 0;
10511050
if (fuse_opt_parse(&args, &opts, fuse_opts, sqfs_opt_proc) == -1)
10521051
sqfs_usage(argv[0], true, true);
10531052

0 commit comments

Comments
 (0)