1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
Index: afuse-0.2/src/afuse.c
===================================================================
--- afuse-0.2.orig/src/afuse.c 2008-02-19 03:46:32.000000000 +0530
+++ afuse-0.2/src/afuse.c 2008-03-14 10:54:58.000000000 +0530
@@ -1504,7 +1504,8 @@
fuse_opt_add_arg(&args, "-s");
// Adjust user specified timeout from seconds to microseconds as required
- user_options.auto_unmount_delay *= 1000000;
+ if(user_options.auto_unmount_delay != UINT64_MAX)
+ user_options.auto_unmount_delay *= 1000000;
auto_unmount_ph_init(&auto_unmount_ph);
|