Skip to content

Commit

Permalink
feat(freebsd): report VFCF_FILEREVINC capability
Browse files Browse the repository at this point in the history
  • Loading branch information
rkojedzinszky committed Jan 22, 2025
1 parent e6a975a commit 0f505bc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions module/os/freebsd/zfs/zfs_vfsops.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,14 @@ struct vfsops zfs_vfsops = {
.vfs_quotactl = zfs_quotactl,
};

VFS_SET(zfs_vfsops, zfs, VFCF_DELEGADMIN | VFCF_JAIL
#ifdef VFCF_CROSS_COPY_FILE_RANGE
VFS_SET(zfs_vfsops, zfs,
VFCF_DELEGADMIN | VFCF_JAIL | VFCF_CROSS_COPY_FILE_RANGE);
#else
VFS_SET(zfs_vfsops, zfs, VFCF_DELEGADMIN | VFCF_JAIL);
| VFCF_CROSS_COPY_FILE_RANGE
#endif
#ifdef VFCF_FILEREVINC
| VFCF_FILEREVINC
#endif
);

/*
* We need to keep a count of active fs's.
Expand Down

0 comments on commit 0f505bc

Please sign in to comment.