diff options
author | Mateusz Guzik <[email protected]> | 2023-04-25 01:15:42 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-04-24 16:15:42 -0700 |
commit | 81a2b2e6a6d9c71d314588207de9775a5ea6f72f (patch) | |
tree | 461af511e0257d4fc9e8fff4bd2574afd4f38fac /module/os | |
parent | ff0e135e25fa6b523f93d8022304b1be60a67be7 (diff) |
FreeBSD: add missing vop_fplookup assignments
It became illegal to not have them as of
5f6df177758b9dff88e4b6069aeb2359e8b0c493 ("vfs: validate that vop
vectors provide all or none fplookup vops") upstream.
Reviewed-by: Alexander Motin <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Mateusz Guzik <[email protected]>
Closes #14788
Diffstat (limited to 'module/os')
-rw-r--r-- | module/os/freebsd/zfs/zfs_ctldir.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/module/os/freebsd/zfs/zfs_ctldir.c b/module/os/freebsd/zfs/zfs_ctldir.c index ca2f4419d..d00efa44f 100644 --- a/module/os/freebsd/zfs/zfs_ctldir.c +++ b/module/os/freebsd/zfs/zfs_ctldir.c @@ -802,6 +802,9 @@ static struct vop_vector zfsctl_ops_root = { #if __FreeBSD_version >= 1300121 .vop_fplookup_vexec = VOP_EAGAIN, #endif +#if __FreeBSD_version >= 1300139 + .vop_fplookup_symlink = VOP_EAGAIN, +#endif .vop_open = zfsctl_common_open, .vop_close = zfsctl_common_close, .vop_ioctl = VOP_EINVAL, @@ -1130,6 +1133,9 @@ static struct vop_vector zfsctl_ops_snapdir = { #if __FreeBSD_version >= 1300121 .vop_fplookup_vexec = VOP_EAGAIN, #endif +#if __FreeBSD_version >= 1300139 + .vop_fplookup_symlink = VOP_EAGAIN, +#endif .vop_open = zfsctl_common_open, .vop_close = zfsctl_common_close, .vop_getattr = zfsctl_snapdir_getattr, @@ -1237,6 +1243,9 @@ static struct vop_vector zfsctl_ops_snapshot = { #if __FreeBSD_version >= 1300121 .vop_fplookup_vexec = VOP_EAGAIN, #endif +#if __FreeBSD_version >= 1300139 + .vop_fplookup_symlink = VOP_EAGAIN, +#endif .vop_open = zfsctl_common_open, .vop_close = zfsctl_common_close, .vop_inactive = zfsctl_snapshot_inactive, |