summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_cache.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-10-15 13:24:07 +0000
committerphk <phk@FreeBSD.org>1997-10-15 13:24:07 +0000
commitf7aabc3ac9f5e7e265942303c10f94c847a7ef2d (patch)
tree379238b04da37a49e55a28d844fbbcbfc9583c70 /sys/kern/vfs_cache.c
parent213e132f58cfb18b8eda2e64a6ed23ffc6002932 (diff)
downloadFreeBSD-src-f7aabc3ac9f5e7e265942303c10f94c847a7ef2d.zip
FreeBSD-src-f7aabc3ac9f5e7e265942303c10f94c847a7ef2d.tar.gz
vnops megacommit
1. Use the default function to access all the specfs operations. 2. Use the default function to access all the fifofs operations. 3. Use the default function to access all the ufs operations. 4. Fix VCALL usage in vfs_cache.c 5. Use VOCALL to access specfs functions in devfs_vnops.c 6. Staticize most of the spec and fifofs vnops functions. 7. Make UFS panic if it lacks bits of the underlying storage handling.
Diffstat (limited to 'sys/kern/vfs_cache.c')
-rw-r--r--sys/kern/vfs_cache.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index 71db0b0..49cd2f3 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_cache.c 8.5 (Berkeley) 3/22/95
- * $Id: vfs_cache.c,v 1.32 1997/09/24 07:46:52 phk Exp $
+ * $Id: vfs_cache.c,v 1.33 1997/09/24 15:54:10 phk Exp $
*/
#include <sys/param.h>
@@ -415,8 +415,7 @@ vfs_cache_lookup(ap)
error = cache_lookup(vdp, vpp, cnp);
if (!error)
- return (VCALL(vdp, VOFFSET(vop_cachedlookup),
- (struct vop_cachedlookup_args *)ap));
+ return (VOP_CACHEDLOOKUP(ap->a_dvp, ap->a_vpp, ap->a_cnp));
if (error == ENOENT)
return (error);
OpenPOWER on IntegriCloud