freebsd-dev/sys/gnu/fs/ext2fs
Poul-Henning Kamp 0fa2443f0e Uncut&paste cache_lookup().
This unifies several times in theory indentical 50 lines of code.

The filesystems have a new method: vop_cachedlookup, which is the
meat of the lookup, and use vfs_cache_lookup() for their vop_lookup
method.  vfs_cache_lookup() will check the namecache and pass on
to the vop_cachedlookup method in case of a miss.

It's still the task of the individual filesystems to populate the
namecache with cache_enter().

Filesystems that do not use the namecache will just provide the
vop_lookup method as usual.
1997-08-26 07:32:51 +00:00
..
COPYRIGHT.INFO Main code for the ext2fs filesystem. Please refer to the COPYRIGHT.INFO 1995-11-05 23:25:12 +00:00
ext2_alloc.c Removed unused #includes. 1997-06-14 14:17:07 +00:00
ext2_balloc.c Removed unused #includes. 1997-06-14 14:17:07 +00:00
ext2_bmap.c Update a number of routines to reflect the actual name 1997-03-09 06:10:36 +00:00
ext2_extern.h Uncut&paste cache_lookup(). 1997-08-26 07:32:51 +00:00
ext2_fs_sb.h Main code for the ext2fs filesystem. Please refer to the COPYRIGHT.INFO 1995-11-05 23:25:12 +00:00
ext2_fs.h Use __i386__ instead of i386 in ifdefs. 1997-04-01 15:10:38 +00:00
ext2_inode_cnv.c Removed unused #includes. 1997-06-14 14:17:07 +00:00
ext2_inode.c Removed unused #includes. 1997-06-14 14:17:07 +00:00
ext2_linux_balloc.c Fix a problem with ext2fs so that filesystems mounted at reboot don't 1997-08-04 05:10:31 +00:00
ext2_linux_ialloc.c Fix a problem with ext2fs so that filesystems mounted at reboot don't 1997-08-04 05:10:31 +00:00
ext2_lookup.c Uncut&paste cache_lookup(). 1997-08-26 07:32:51 +00:00
ext2_mount.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ext2_readwrite.c Code cleanup. Removed !FreeBSD code arround sysctl stuff. Renamed 1997-08-24 11:23:17 +00:00
ext2_subr.c Removed unused #includes. 1997-06-14 14:17:07 +00:00
ext2_vfsops.c Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
ext2_vnops.c Uncut&paste cache_lookup(). 1997-08-26 07:32:51 +00:00
fs.h Fix a problem with ext2fs so that filesystems mounted at reboot don't 1997-08-04 05:10:31 +00:00
i386-bitops.h ext2_inode_cnv.c: 1995-11-09 08:41:25 +00:00
inode.h Fixed comment about i_spare. 1997-07-13 15:40:31 +00:00