diff --git a/sys/sys/mount.h b/sys/sys/mount.h index 702ff91be1cc..cab1f683411e 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -1,4 +1,4 @@ -/* $NetBSD: mount.h,v 1.189 2009/04/29 15:44:55 dyoung Exp $ */ +/* $NetBSD: mount.h,v 1.190 2009/06/26 16:55:46 dyoung Exp $ */ /* * Copyright (c) 1989, 1991, 1993 @@ -126,6 +126,7 @@ struct mount { struct wapbl *mnt_wapbl; /* log info */ struct wapbl_replay *mnt_wapbl_replay; /* replay support XXX: what? */ + uint64_t mnt_gen; }; /* @@ -389,8 +390,10 @@ int vfs_fhtovp(fhandle_t *, struct vnode **); int vfs_mountedon(struct vnode *);/* is a vfs mounted on vp */ int vfs_mountroot(void); void vfs_shutdown(void); /* unmount and sync file systems */ +void vfs_sync_all(struct lwp *); bool vfs_unmountall(struct lwp *); /* unmount file systems */ bool vfs_unmountall1(struct lwp *, bool, bool); +bool vfs_unmount_forceone(struct lwp *); int vfs_busy(struct mount *, struct mount **); int vfs_rootmountalloc(const char *, const char *, struct mount **); void vfs_unbusy(struct mount *, bool, struct mount **);