42c8d67c49
- vcache_get() retrieves a referenced and initialised vnode / fs node pair. - vcache_remove() removes a vnode / fs node pair from the cache. On cache miss vcache_get() calls new vfs operation vfs_loadvnode() to initialise a vnode / fs node pair. This call is guaranteed exclusive, no other thread will try to load this vnode / fs node pair. Convert ufs/ext2fs, ufs/ffs and ufs/mfs to use this interface. Remove now unused ufs/ufs_ihash Discussed on tech-kern. Welcome to 6.99.41
23 lines
644 B
Makefile
23 lines
644 B
Makefile
# $NetBSD: Makefile,v 1.9 2014/05/08 08:21:53 hannken Exp $
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.PATH: ${S}/ufs/ffs
|
|
|
|
KMOD= ffs
|
|
CPPFLAGS+= -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA -DQUOTA2
|
|
|
|
CWARNFLAGS.clang= -Wno-conversion
|
|
|
|
.PATH: ${S}/ufs/ufs
|
|
SRCS= ufs_bmap.c ufs_dirhash.c ufs_extattr.c ufs_inode.c \
|
|
ufs_lookup.c ufs_quota.c ufs_quota1.c ufs_quota2.c ufs_rename.c \
|
|
ufs_vfsops.c ufs_vnops.c ufs_wapbl.c quota2_subr.c
|
|
|
|
.PATH: ${S}/ufs/ffs
|
|
SRCS+= ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_subr.c ffs_tables.c \
|
|
ffs_vfsops.c ffs_vnops.c ffs_snapshot.c \
|
|
ffs_bswap.c ffs_wapbl.c ffs_appleufs.c ffs_quota2.c
|
|
|
|
.include <bsd.kmodule.mk>
|