opnsense-src/sys/gnu/fs/ext2fs
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
..
COPYRIGHT.INFO
ext2_alloc.c Fix -Wundef warnings found when compiling i386 LINT, GENERIC and 2005-12-05 11:58:35 +00:00
ext2_balloc.c Fix -Wundef warnings found when compiling i386 LINT, GENERIC and 2005-12-05 11:58:35 +00:00
ext2_bitops.h Repair ext2fs writes. 2006-04-13 19:37:32 +00:00
ext2_bmap.c Move ext2fs from src/gnu to src/gnu/fs. 2005-06-15 02:36:11 +00:00
ext2_extern.h Use vfs_hash() instead of home-rolled 2005-03-14 13:30:06 +00:00
ext2_fs.h Add standard GPL boilerplate to these files. They are the only ones 2005-06-16 06:51:38 +00:00
ext2_fs_sb.h Add standard GPL boilerplate to these files. They are the only ones 2005-06-16 06:51:38 +00:00
ext2_inode.c Add mnt_noasync counter to better handle interleaved calls to nmount(), 2006-09-26 04:15:59 +00:00
ext2_inode_cnv.c Move ext2fs from src/gnu to src/gnu/fs. 2005-06-15 02:36:11 +00:00
ext2_linux_balloc.c Add standard GPL boilerplate to these files. They are the only ones 2005-06-16 06:51:38 +00:00
ext2_linux_ialloc.c Fix -Wundef from compiling the amd64 LINT. 2005-12-04 10:06:06 +00:00
ext2_lookup.c Fix -Wundef warnings found when compiling i386 LINT, GENERIC and 2005-12-05 11:58:35 +00:00
ext2_mount.h /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:27:30 +00:00
ext2_readwrite.c /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:27:30 +00:00
ext2_subr.c Move ext2fs from src/gnu to src/gnu/fs. 2005-06-15 02:36:11 +00:00
ext2_vfsops.c Make insmntque() externally visibile and allow it to fail (e.g. during 2007-03-13 01:50:27 +00:00
ext2_vnops.c Rename PRIV_VFS_CLEARSUGID to PRIV_VFS_RETAINSUGID, which seems to better 2007-03-01 20:47:42 +00:00
fs.h Add a new struct buf flag bit, B_PERSISTENT, and use it to tag 2005-09-08 06:30:05 +00:00
i386-bitops.h Add standard GPL boilerplate to these files. They are the only ones 2005-06-16 06:51:38 +00:00
inode.h Remove inode fields previously used for private inode hash tables. 2005-03-16 08:09:52 +00:00
sparc64-bitops.h Add standard GPL boilerplate to these files. They are the only ones 2005-06-16 06:51:38 +00:00