diff options
author | phk <phk@FreeBSD.org> | 2000-06-16 13:00:33 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-06-16 13:00:33 +0000 |
commit | 74e1ff15ad65bce9d3b760f6a45392480dd8e173 (patch) | |
tree | 22cb646a60b1642d5926cbc241a8005b10cb3020 /sys/ufs/ffs | |
parent | ce4f63fda759313480cd755482c4f6ac8c62705b (diff) | |
download | FreeBSD-src-74e1ff15ad65bce9d3b760f6a45392480dd8e173.zip FreeBSD-src-74e1ff15ad65bce9d3b760f6a45392480dd8e173.tar.gz |
ARGH! I have too many source trees :-(
Fix prototype errors in last commit.
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r-- | sys/ufs/ffs/ffs_extern.h | 1 | ||||
-rw-r--r-- | sys/ufs/ffs/ffs_softdep.c | 6 | ||||
-rw-r--r-- | sys/ufs/ffs/ffs_softdep_stub.c | 1 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sys/ufs/ffs/ffs_extern.h b/sys/ufs/ffs/ffs_extern.h index 02848a3..778376e 100644 --- a/sys/ufs/ffs/ffs_extern.h +++ b/sys/ufs/ffs/ffs_extern.h @@ -125,5 +125,6 @@ void softdep_setup_allocindir_page __P((struct inode *, ufs_lbn_t, struct buf *, int, ufs_daddr_t, ufs_daddr_t, struct buf *)); void softdep_fsync_mountdev __P((struct vnode *)); int softdep_sync_metadata __P((struct vop_fsync_args *)); +int softdep_fsync __P((struct vnode *vp)); #endif /* !_UFS_FFS_EXTERN_H */ diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 6574363..870d6ac 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -213,8 +213,6 @@ static void add_to_worklist __P((struct worklist *)); static void softdep_disk_io_initiation __P((struct buf *)); static void softdep_disk_write_complete __P((struct buf *)); static void softdep_deallocate_dependencies __P((struct buf *)); -static int softdep_fsync __P((struct vnode *)); -static int softdep_process_worklist __P((struct mount *)); static void softdep_move_dependencies __P((struct buf *, struct buf *)); static int softdep_count_dependencies __P((struct buf *bp, int)); @@ -521,7 +519,7 @@ add_to_worklist(wk) * ordering ensures that no new <vfsid, inum, lbn> triples will be generated * until all the old ones have been purged from the dependency lists. */ -static int +int softdep_process_worklist(matchmnt) struct mount *matchmnt; { @@ -3690,7 +3688,7 @@ merge_inode_lists(inodedep) * If we are doing an fsync, then we must ensure that any directory * entries for the inode have been written after the inode gets to disk. */ -static int +int softdep_fsync(vp) struct vnode *vp; /* the "in_core" copy of the inode */ { diff --git a/sys/ufs/ffs/ffs_softdep_stub.c b/sys/ufs/ffs/ffs_softdep_stub.c index 8845fbd..806ba24 100644 --- a/sys/ufs/ffs/ffs_softdep_stub.c +++ b/sys/ufs/ffs/ffs_softdep_stub.c @@ -48,6 +48,7 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/vnode.h> +#include <sys/mount.h> #include <ufs/ufs/quota.h> #include <ufs/ufs/inode.h> #include <ufs/ffs/ffs_extern.h> |