From 990ddda981b790fb3477008ea46bf26cf26e1e15 Mon Sep 17 00:00:00 2001 From: yparitcher Date: Thu, 14 May 2020 22:47:14 -0500 Subject: [PATCH] Fix VN_OPEN_INVFS typo The VN_OPEN_INVFS literal is in the wrong field. Reviewed-by: Matt Macy Reviewed-by: Brian Behlendorf Reviewed-by: Alexander Motin Signed-off-by: yparitcher Closes #10322 --- module/os/freebsd/zfs/zfs_vnops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/os/freebsd/zfs/zfs_vnops.c b/module/os/freebsd/zfs/zfs_vnops.c index 711e0b1f75a8..9f5e58446ff7 100644 --- a/module/os/freebsd/zfs/zfs_vnops.c +++ b/module/os/freebsd/zfs/zfs_vnops.c @@ -5941,7 +5941,7 @@ zfs_getextattr(struct vop_getextattr_args *ap) flags = FREAD; NDINIT_ATVP(&nd, LOOKUP, NOFOLLOW, UIO_SYSSPACE, attrname, xvp, td); - error = vn_open_cred(&nd, &flags, VN_OPEN_INVFS, 0, ap->a_cred, NULL); + error = vn_open_cred(&nd, &flags, 0, VN_OPEN_INVFS, ap->a_cred, NULL); vp = nd.ni_vp; NDFREE(&nd, NDF_ONLY_PNBUF); if (error != 0) {