From bc94ad4c5eb59310d92217913eeae02ead064773 Mon Sep 17 00:00:00 2001 From: wrstuden Date: Sat, 27 Feb 1999 00:47:34 +0000 Subject: [PATCH] Rationalize the vfs_checkexp macro to be VFS_CHECKEXP. --- sys/nfs/nfs_subs.c | 4 ++-- sys/sys/mount.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/nfs/nfs_subs.c b/sys/nfs/nfs_subs.c index 2b52ea20e305..e8188cf2f2cf 100644 --- a/sys/nfs/nfs_subs.c +++ b/sys/nfs/nfs_subs.c @@ -1,4 +1,4 @@ -/* $NetBSD: nfs_subs.c,v 1.64 1999/02/26 23:44:47 wrstuden Exp $ */ +/* $NetBSD: nfs_subs.c,v 1.65 1999/02/27 00:47:34 wrstuden Exp $ */ /* * Copyright (c) 1989, 1993 @@ -2217,7 +2217,7 @@ nfsrv_fhtovp(fhp, lockflag, vpp, cred, slp, nam, rdonlyp, kerbflag, pubflag) mp = vfs_getvfs(&fhp->fh_fsid); if (!mp) return (ESTALE); - error = VFS_CHKEXP(mp, nam, &exflags, &credanon); + error = VFS_CHECKEXP(mp, nam, &exflags, &credanon); if (error) return (error); error = VFS_FHTOVP(mp, &fhp->fh_fid, vpp); diff --git a/sys/sys/mount.h b/sys/sys/mount.h index 4b78dada6700..4d4e6bcb46a9 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -1,4 +1,4 @@ -/* $NetBSD: mount.h,v 1.72 1999/02/26 23:44:48 wrstuden Exp $ */ +/* $NetBSD: mount.h,v 1.73 1999/02/27 00:47:35 wrstuden Exp $ */ /* * Copyright (c) 1989, 1991, 1993 @@ -314,7 +314,7 @@ struct vfsops { #define VFS_SYNC(MP, WAIT, C, P) (*(MP)->mnt_op->vfs_sync)(MP, WAIT, C, P) #define VFS_VGET(MP, INO, VPP) (*(MP)->mnt_op->vfs_vget)(MP, INO, VPP) #define VFS_FHTOVP(MP, FIDP, VPP) (*(MP)->mnt_op->vfs_fhtovp)(MP, FIDP, VPP) -#define VFS_CHKEXP(MP, NAM, EXFLG, CRED) \ +#define VFS_CHECKEXP(MP, NAM, EXFLG, CRED) \ (*(MP)->mnt_op->vfs_checkexp)(MP, NAM, EXFLG, CRED) #define VFS_VPTOFH(VP, FIDP) (*(VP)->v_mount->mnt_op->vfs_vptofh)(VP, FIDP) #endif /* _KERNEL */