diff options
Diffstat (limited to 'sys/kern/vfs_vnops.c')
| -rw-r--r-- | sys/kern/vfs_vnops.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c index 6c8c0f9d1779..e60328d9666b 100644 --- a/sys/kern/vfs_vnops.c +++ b/sys/kern/vfs_vnops.c @@ -808,7 +808,7 @@ vn_kqfilter(struct file *fp, struct knote *kn) * Set IO_NODELOCKED in ioflg if the vnode is already locked. */ int -vn_extattr_get(struct vnode *vp, int ioflg, int namespace, +vn_extattr_get(struct vnode *vp, int ioflg, int attrnamespace, const char *attrname, int *buflen, char *buf, struct proc *p) { struct uio auio; @@ -830,7 +830,7 @@ vn_extattr_get(struct vnode *vp, int ioflg, int namespace, vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, p); /* authorize attribute retrieval as kernel */ - error = VOP_GETEXTATTR(vp, namespace, attrname, &auio, NULL, p); + error = VOP_GETEXTATTR(vp, attrnamespace, attrname, &auio, NULL, p); if ((ioflg & IO_NODELOCKED) == 0) VOP_UNLOCK(vp, 0, p); @@ -846,7 +846,7 @@ vn_extattr_get(struct vnode *vp, int ioflg, int namespace, * XXX failure mode if partially written? */ int -vn_extattr_set(struct vnode *vp, int ioflg, int namespace, +vn_extattr_set(struct vnode *vp, int ioflg, int attrnamespace, const char *attrname, int buflen, char *buf, struct proc *p) { struct uio auio; @@ -872,7 +872,7 @@ vn_extattr_set(struct vnode *vp, int ioflg, int namespace, } /* authorize attribute setting as kernel */ - error = VOP_SETEXTATTR(vp, namespace, attrname, &auio, NULL, p); + error = VOP_SETEXTATTR(vp, attrnamespace, attrname, &auio, NULL, p); if ((ioflg & IO_NODELOCKED) == 0) { vn_finished_write(mp); @@ -883,8 +883,8 @@ vn_extattr_set(struct vnode *vp, int ioflg, int namespace, } int -vn_extattr_rm(struct vnode *vp, int ioflg, int namespace, const char *attrname, - struct proc *p) +vn_extattr_rm(struct vnode *vp, int ioflg, int attrnamespace, + const char *attrname, struct proc *p) { struct mount *mp; int error; @@ -896,7 +896,7 @@ vn_extattr_rm(struct vnode *vp, int ioflg, int namespace, const char *attrname, } /* authorize attribute removal as kernel */ - error = VOP_SETEXTATTR(vp, namespace, attrname, NULL, NULL, p); + error = VOP_SETEXTATTR(vp, attrnamespace, attrname, NULL, NULL, p); if ((ioflg & IO_NODELOCKED) == 0) { vn_finished_write(mp); |
