From 07fd058044fbd8138e453c2dd542b4a80aafc864 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Mon, 6 Dec 1999 07:03:05 +0000 Subject: ffs_init is a vfsop. Move it to ffs_vfsops. --- sys/ufs/ffs/ffs_inode.c | 10 +--------- sys/ufs/ffs/ffs_vfsops.c | 10 +++++++++- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'sys') diff --git a/sys/ufs/ffs/ffs_inode.c b/sys/ufs/ffs/ffs_inode.c index 732a0b7c51b..21978dbb82b 100644 --- a/sys/ufs/ffs/ffs_inode.c +++ b/sys/ufs/ffs/ffs_inode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_inode.c,v 1.13 1999/12/06 06:55:41 art Exp $ */ +/* $OpenBSD: ffs_inode.c,v 1.14 1999/12/06 07:03:04 art Exp $ */ /* $NetBSD: ffs_inode.c,v 1.10 1996/05/11 18:27:19 mycroft Exp $ */ /* @@ -65,14 +65,6 @@ static int ffs_indirtrunc __P((struct inode *, daddr_t, daddr_t, daddr_t, int, long *)); -int -ffs_init(vfsp) - struct vfsconf *vfsp; -{ - softdep_initialize(); - return (ufs_init(vfsp)); -} - /* * Update the access, modified, and inode change times as specified by the * IACCESS, IUPDATE, and ICHANGE flags respectively. The IMODIFIED flag is diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 37b3183887c..860b7f54bb6 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.25 1999/12/06 06:59:36 art Exp $ */ +/* $OpenBSD: ffs_vfsops.c,v 1.26 1999/12/06 07:03:04 art Exp $ */ /* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */ /* @@ -1192,6 +1192,14 @@ ffs_sbupdate(mp, waitfor) return (allerror); } +int +ffs_init(vfsp) + struct vfsconf *vfsp; +{ + softdep_initialize(); + return (ufs_init(vfsp)); +} + /* * fast filesystem related variables. */ -- cgit v1.2.3