Deleted Added
full compact
vfs_init.c (8876) vfs_init.c (10358)
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed
6 * to Berkeley by John Heidemann of the UCLA Ficus project.
7 *
8 * Source: * @(#)i405_init.c 2.10 92/04/27 UCLA Ficus project

--- 22 unchanged lines hidden (view full) ---

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)vfs_init.c 8.3 (Berkeley) 1/4/94
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed
6 * to Berkeley by John Heidemann of the UCLA Ficus project.
7 *
8 * Source: * @(#)i405_init.c 2.10 92/04/27 UCLA Ficus project

--- 22 unchanged lines hidden (view full) ---

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)vfs_init.c 8.3 (Berkeley) 1/4/94
39 * $Id: vfs_init.c,v 1.9 1994/10/20 00:48:28 wollman Exp $
39 * $Id: vfs_init.c,v 1.10 1995/05/30 08:06:32 rgrimes Exp $
40 */
41
42
43#include <sys/param.h>
44#include <sys/systm.h>
45#include <sys/kernel.h>
46#include <sys/mount.h>
47#include <sys/time.h>

--- 4 unchanged lines hidden (view full) ---

52#include <sys/buf.h>
53#include <sys/errno.h>
54#include <sys/malloc.h>
55#include <sys/proc.h>
56#include <vm/vm.h>
57#include <sys/sysctl.h>
58
59/*
40 */
41
42
43#include <sys/param.h>
44#include <sys/systm.h>
45#include <sys/kernel.h>
46#include <sys/mount.h>
47#include <sys/time.h>

--- 4 unchanged lines hidden (view full) ---

52#include <sys/buf.h>
53#include <sys/errno.h>
54#include <sys/malloc.h>
55#include <sys/proc.h>
56#include <vm/vm.h>
57#include <sys/sysctl.h>
58
59/*
60 * System initialization
61 */
62
63static void vfsinit __P((caddr_t));
64SYSINIT(vfs, SI_SUB_VFS, SI_ORDER_FIRST, vfsinit, NULL)
65
66/*
60 * Sigh, such primitive tools are these...
61 */
62#if 0
63#define DODEBUG(A) A
64#else
65#define DODEBUG(A)
66#endif
67

--- 157 unchanged lines hidden (view full) ---

225extern struct vnodeops dead_vnodeops;
226extern struct vnodeops spec_vnodeops;
227extern void vclean();
228struct vattr va_null;
229
230/*
231 * Initialize the vnode structures and initialize each file system type.
232 */
67 * Sigh, such primitive tools are these...
68 */
69#if 0
70#define DODEBUG(A) A
71#else
72#define DODEBUG(A)
73#endif
74

--- 157 unchanged lines hidden (view full) ---

232extern struct vnodeops dead_vnodeops;
233extern struct vnodeops spec_vnodeops;
234extern void vclean();
235struct vattr va_null;
236
237/*
238 * Initialize the vnode structures and initialize each file system type.
239 */
233void
234vfsinit()
240/* ARGSUSED*/
241static void
242vfsinit( udata)
243caddr_t udata; /* not used*/
235{
236 struct vfsops **vfsp;
237 struct vfsconf **vfc;
238 int i;
239
240 /*
241 * Initialize the VFS switch table
242 */

--- 106 unchanged lines hidden ---
244{
245 struct vfsops **vfsp;
246 struct vfsconf **vfc;
247 int i;
248
249 /*
250 * Initialize the VFS switch table
251 */

--- 106 unchanged lines hidden ---