stream_file: enable cache for FUSE filesystems on OpenBSD and FreeBSD

This commit is contained in:
gall0ws 2018-05-26 13:20:22 +02:00 committed by Jan Ekström
parent 8479449d14
commit bca59516cc
1 changed files with 1 additions and 1 deletions

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)