summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>1999-12-06 07:03:04 +0000
committerart <art@openbsd.org>1999-12-06 07:03:04 +0000
commit732c1578eef0656de983d21183deff7e252bcbe7 (patch)
tree5c51b2cd0d19779f2a76a620aedb9338d5bf595e
parentAlways make sure that softdep mounts are not async. (diff)
downloadwireguard-openbsd-732c1578eef0656de983d21183deff7e252bcbe7.tar.xz
wireguard-openbsd-732c1578eef0656de983d21183deff7e252bcbe7.zip
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.
*/