+static char* add_passthrough_fuse_options(char* fuse_options,
+ const char* options)
+{
+ const char* passthrough_list[] =
+ {
+#if defined(__FreeBSD__)
+ "automounted",
+#endif
+ "nonempty",
+ NULL
+ };
+ int i;
+
+ for (i = 0; passthrough_list[i] != NULL; i++)
+ if (exfat_match_option(options, passthrough_list[i]))
+ {
+ fuse_options = add_option(fuse_options, passthrough_list[i], NULL);
+ if (fuse_options == NULL)
+ return NULL;
+ }
+
+ return fuse_options;
+}
+