stream_file: enable cache for FUSE filesystems on OpenBSD and FreeBSD

This commit is contained in:
gall0ws authored and Jan Ekström committed 2018-06-05 01:28:35 +03:00
1 parent 8479449d14
commit bca59516cc
1 file changed
+1 -1
+1 -1
View File
@@ -193,7 +193,7 @@ static bool check_stream_network(int fd)
{
struct statfs fs;
const char *stypes[] = { "afpfs", "nfs", "smbfs", "webdav", "osxfusefs",
NULL };
"fuse", "fusefs.sshfs", NULL };
if (fstatfs(fd, &fs) == 0)
for (int i=0; stypes[i]; i++)
if (strcmp(stypes[i], fs.f_fstypename) == 0)