From cdcce2f0190e05127d304fcc261cfdb5284ab621 Mon Sep 17 00:00:00 2001 From: yparitcher Date: Thu, 14 May 2020 22:47:14 -0500 Subject: 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(-) (limited to 'module/os') diff --git a/module/os/freebsd/zfs/zfs_vnops.c b/module/os/freebsd/zfs/zfs_vnops.c index 711e0b1f7..9f5e58446 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) { -- cgit v1.2.3