HomeFreeBSD

add ZFS_ENTER protection to .zfs/snapshot vnode operations that need it

Description

add ZFS_ENTER protection to .zfs/snapshot vnode operations that need it

Those operations, zfsctl_snapdir_readdir and zfsctl_snapdir_getattr,
access the filesystem's objset and it can be unstable during operations
like receive and rollback.

MFC after: 2 weeks

Details

Provenance
avgAuthored on
Parents
rS330056: libsa: replace remaining _write callbacks by null_write
Branches
Unknown
Tags
Unknown