HomeFreeBSD

fusefs: fix tests when data caching is disabled

Description

fusefs: fix tests when data caching is disabled

VOP_GETPAGES is disabled when vfs.fusefs.data_cache_mode=0, causing mmap to
return success but accessing the mapped memory will subsequently segfault.

Sponsored by: The FreeBSD Foundation

Details

Provenance
asomersAuthored on
Parents
rS345719: Merge tests/sys/capsicum-test into tests/sys/capsicum
Branches
Unknown
Tags
Unknown