summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_extattr.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2001-09-22 03:07:41 +0000
committerRobert Watson <rwatson@FreeBSD.org>2001-09-22 03:07:41 +0000
commitb4799065efd730307fbfaae6152691bb33ef76a5 (patch)
tree0b4ee4b8440c3e9af094462ea71b4c620520bef4 /sys/kern/vfs_extattr.c
parentfd1135c7d0a413b8c8f51389516961a806d70341 (diff)
Notes
Diffstat (limited to 'sys/kern/vfs_extattr.c')
-rw-r--r--sys/kern/vfs_extattr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c
index 9dae212a6ddc..38d7a413b532 100644
--- a/sys/kern/vfs_extattr.c
+++ b/sys/kern/vfs_extattr.c
@@ -84,7 +84,7 @@ static int setfmode __P((struct thread *td, struct vnode *, int));
static int setfflags __P((struct thread *td, struct vnode *, int));
static int setutimes __P((struct thread *td, struct vnode *,
const struct timespec *, int));
-static int vpaccess __P((struct vnode *vp, int user_flags, struct ucred *cred,
+static int vn_access __P((struct vnode *vp, int user_flags, struct ucred *cred,
struct thread *td));
static int usermount = 0; /* if 1, non-root can mount fs. */
@@ -1703,7 +1703,7 @@ olseek(td, uap)
* Check access permissions using passed credentials.
*/
static int
-vpaccess(vp, user_flags, cred, td)
+vn_access(vp, user_flags, cred, td)
struct vnode *vp;
int user_flags;
struct ucred *cred;
@@ -1769,7 +1769,7 @@ access(td, uap)
goto out1;
vp = nd.ni_vp;
- error = vpaccess(vp, SCARG(uap, flags), tmpcred, td);
+ error = vn_access(vp, SCARG(uap, flags), tmpcred, td);
NDFREE(&nd, NDF_ONLY_PNBUF);
vput(vp);
out1:
@@ -1805,7 +1805,7 @@ eaccess(td, uap)
return (error);
vp = nd.ni_vp;
- error = vpaccess(vp, SCARG(uap, flags), td->td_proc->p_ucred, td);
+ error = vn_access(vp, SCARG(uap, flags), td->td_proc->p_ucred, td);
NDFREE(&nd, NDF_ONLY_PNBUF);
vput(vp);
return (error);