summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_init.c
diff options
context:
space:
mode:
authorthib <thib@openbsd.org>2007-05-29 16:25:07 +0000
committerthib <thib@openbsd.org>2007-05-29 16:25:07 +0000
commit62146d72bd719d4b57a8da671a3375f76d7fdfd3 (patch)
treea5e8c274030484326788caef5019e59d6611e954 /sys/kern/vfs_init.c
parentsync (diff)
downloadwireguard-openbsd-62146d72bd719d4b57a8da671a3375f76d7fdfd3.tar.xz
wireguard-openbsd-62146d72bd719d4b57a8da671a3375f76d7fdfd3.zip
Nuke the predefined vattr, it was only used for !DIAGNOSTIC,
this shrinks the i386 RAMDISK a bit. (Using the predefined vattr for GENERIC meant a growth of 416bytes without any measurable perfomance gain). ok krw@, art@
Diffstat (limited to 'sys/kern/vfs_init.c')
-rw-r--r--sys/kern/vfs_init.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c
index 89cfca4001a..7820e78beb1 100644
--- a/sys/kern/vfs_init.c
+++ b/sys/kern/vfs_init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_init.c,v 1.18 2005/11/06 13:07:48 pedro Exp $ */
+/* $OpenBSD: vfs_init.c,v 1.19 2007/05/29 16:25:07 thib Exp $ */
/* $NetBSD: vfs_init.c,v 1.6 1996/02/09 19:00:58 christos Exp $ */
/*
@@ -225,8 +225,6 @@ vfs_op_init(void)
/*
* Routines having to do with the management of the vnode table.
*/
-struct vattr va_null;
-
struct pool namei_pool;
/*
@@ -255,10 +253,6 @@ vfsinit(void)
*/
vfs_op_init();
vfs_opv_init(); /* finish the job */
- /*
- * Initialize each file system type.
- */
- vattr_null(&va_null);
/*
* Stop using vfsconf and maxvfsconf as a temporary storage,