diff options
author | yparitcher <[email protected]> | 2020-05-14 22:47:14 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-14 20:47:14 -0700 |
commit | cdcce2f0190e05127d304fcc261cfdb5284ab621 (patch) | |
tree | c600e9f5cceef3eb959698e20859ea19cee10995 /module/os | |
parent | 2ade659eb4f836931f10b69477657a054d743894 (diff) |
Fix VN_OPEN_INVFS typo
The VN_OPEN_INVFS literal is in the wrong field.
Reviewed-by: Matt Macy <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: yparitcher <[email protected]>
Closes #10322
Diffstat (limited to 'module/os')
-rw-r--r-- | module/os/freebsd/zfs/zfs_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |