Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/sys/mount.h,v rcsdiff: /ftp/cvs/cvsroot/src/sys/sys/mount.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.173.10.2 retrieving revision 1.173.10.3 diff -u -p -r1.173.10.2 -r1.173.10.3 --- src/sys/sys/mount.h 2009/05/04 08:14:35 1.173.10.2 +++ src/sys/sys/mount.h 2009/07/18 14:53:27 1.173.10.3 @@ -1,4 +1,4 @@ -/* $NetBSD: mount.h,v 1.173.10.2 2009/05/04 08:14:35 yamt Exp $ */ +/* $NetBSD: mount.h,v 1.173.10.3 2009/07/18 14:53:27 yamt 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 **);