On Tue, Mar 13, 2007 at 01:50:27AM +0000, Tor Egge wrote: > tegge 2007-03-13 01:50:27 UTC > > FreeBSD src repository > > Modified files: > sys/coda coda_vnops.c > sys/fs/cd9660 cd9660_vfsops.c > sys/fs/devfs devfs_vnops.c > sys/fs/fdescfs fdesc_vnops.c > sys/fs/hpfs hpfs_vfsops.c > sys/fs/msdosfs msdosfs_denode.c > sys/fs/ntfs ntfs_vfsops.c > sys/fs/nullfs null_subr.c > sys/fs/nwfs nwfs_node.c > sys/fs/portalfs portal_vfsops.c portal_vnops.c > sys/fs/pseudofs pseudofs_vncache.c > sys/fs/smbfs smbfs_node.c > sys/fs/udf udf_vfsops.c > sys/fs/umapfs umap_subr.c > sys/fs/unionfs union_subr.c > sys/gnu/fs/ext2fs ext2_vfsops.c > sys/gnu/fs/reiserfs reiserfs_inode.c > sys/gnu/fs/xfs/FreeBSD xfs_freebsd_iget.c > sys/kern uipc_mqueue.c vfs_hash.c vfs_subr.c > sys/nfsclient nfs_node.c > sys/sys vnode.h > sys/ufs/ffs ffs_vfsops.c > Log: > Make insmntque() externally visibile and allow it to fail (e.g. during > late stages of unmount). On failure, the vnode is recycled. > > Add insmntque1(), to allow for file system specific cleanup when > recycling vnode on failure. > > Change getnewvnode() to no longer call insmntque(). Previously, > embryonic vnodes were put onto the list of vnode belonging to a file > system, which is unsafe for a file system marked MPSAFE. > > Change vfs_hash_insert() to no longer lock the vnode. The caller now > has that responsibility. > > Change most file systems to lock the vnode and call insmntque() or > insmntque1() after a new vnode has been sufficiently setup. Handle > failed insmntque*() calls by propagating errors to callers, possibly > after some file system specific cleanup. > > Approved by: re (kensmith) > Reviewed by: kib > In collaboration with: kib
Can you bump __FreeBSD_version for 3rd party file systems? -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am!
pgpYFBB2rMAfs.pgp
Description: PGP signature
