freebsd-nq/sys/fs/ntfs
Tor Egge 61b9d89ff0 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
2007-03-13 01:50:27 +00:00
..
ntfs_compr.c
ntfs_compr.h
ntfs_iconv.c
ntfs_ihash.c Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
ntfs_ihash.h Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
ntfs_inode.h Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
ntfs_subr.c Fix an integer overflow and allow access to files larger than 4GB on 2006-11-20 19:28:36 +00:00
ntfs_subr.h Fix an integer overflow and allow access to files larger than 4GB on 2006-11-20 19:28:36 +00:00
ntfs_vfsops.c Make insmntque() externally visibile and allow it to fail (e.g. during 2007-03-13 01:50:27 +00:00
ntfs_vfsops.h make M_NTFSMNT and ntfs_calccfree() static 2005-02-10 12:09:49 +00:00
ntfs_vnops.c Move vnode-to-file-handle translation from vfs_vptofh to vop_vptofh method. 2007-02-15 22:08:35 +00:00
ntfs.h Do not declare M_NTFSMNT with extern linkage here, since 2005-09-11 15:57:07 +00:00
ntfsmount.h