summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-12-06 07:03:05 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-12-06 07:03:05 +0000
commit07fd058044fbd8138e453c2dd542b4a80aafc864 (patch)
tree7c05decccd341664ac0c423d7c4681de53f417c7
parentf468f5c6819deb2013c93b927f0df7191209d84c (diff)
ffs_init is a vfsop. Move it to ffs_vfsops.
-rw-r--r--sys/ufs/ffs/ffs_inode.c10
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c10
2 files changed, 10 insertions, 10 deletions
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.
*/