diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-03-31 12:19:43 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-03-31 12:19:43 +0000 |
commit | 5fb1263e0f7e20f497387fa84c54d4c96d3ce595 (patch) | |
tree | ac4575965cbfe21c2c40baea5cec92ee6695a086 /sys/ufs/ffs/ffs_vfsops.c | |
parent | 02923c4d7b67f52f542ecfde27a4de7398ceb27a (diff) |
Add a pool for FFS2 dinodes
Diffstat (limited to 'sys/ufs/ffs/ffs_vfsops.c')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index af74eb3cfe1..17b071d5a8a 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_vfsops.c,v 1.83 2006/03/31 08:13:07 pedro Exp $ */ +/* $OpenBSD: ffs_vfsops.c,v 1.84 2006/03/31 12:19:42 pedro Exp $ */ /* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */ /* @@ -1422,6 +1422,10 @@ ffs_init(struct vfsconf *vfsp) &pool_allocator_nointr); pool_init(&ffs_dinode1_pool, sizeof(struct ufs1_dinode), 0, 0, 0, "dino1pl", &pool_allocator_nointr); +#ifdef FFS2 + pool_init(&ffs_dinode2_pool, sizeof(struct ufs2_dinode), 0, 0, 0, + "dino2pl", &pool_allocator_nointr); +#endif softdep_initialize(); |