Fix VN_OPEN_INVFS typo
The VN_OPEN_INVFS literal is in the wrong field. Reviewed-by: Matt Macy <mmacy@FreeBSD.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Signed-off-by: yparitcher <y@paritcher.com> Closes #10322
This commit is contained in:
parent
2ade659eb4
commit
cdcce2f019
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user