NetBSD/sys/fs/smbfs
jmmv e0fd5659c6 Bring in fix from FreeBSD by tjr, 3 years and 9 months ago: Store a
reference to the parent directory's vnode instead of its smbnode to
avoid a use-after-free bug causing a panic when a smbfs mount is
forcefully unmounted.

Keep trying to flush the vnode list for the mount while some are still
busy and we are making progress towards making them not busy.  This
stops attempts to unmount idle smbfs mounts failing with EBUSY.

The easiest way to reproduce the above problem, from what I have seen is:
1) Assume /s is a smbfs mount point.
2) mount /s
3) stat /s/foo/1
4) umount /s
   Returns error because the file system is busy.
5) Shutdown the machine: panic in smbfs_reclaim because vrele
   accesses already-released memory.
2006-11-02 17:34:21 +00:00
..
files.smbfs
Makefile
smbfs_io.c Bring in fix from FreeBSD by tjr, 3 years and 9 months ago: Store a 2006-11-02 17:34:21 +00:00
smbfs_kq.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
smbfs_node.c Bring in fix from FreeBSD by tjr, 3 years and 9 months ago: Store a 2006-11-02 17:34:21 +00:00
smbfs_node.h Bring in fix from FreeBSD by tjr, 3 years and 9 months ago: Store a 2006-11-02 17:34:21 +00:00
smbfs_smb.c Bring in fix from FreeBSD by tjr, 3 years and 9 months ago: Store a 2006-11-02 17:34:21 +00:00
smbfs_subr.c Bring in fix from FreeBSD by tjr, 3 years and 9 months ago: Store a 2006-11-02 17:34:21 +00:00
smbfs_subr.h
smbfs_vfsops.c Bring in fix from FreeBSD by tjr, 3 years and 9 months ago: Store a 2006-11-02 17:34:21 +00:00
smbfs_vnops.c Bring in fix from FreeBSD by tjr, 3 years and 9 months ago: Store a 2006-11-02 17:34:21 +00:00
smbfs.h Bring in fix from FreeBSD by tjr, 3 years and 9 months ago: Store a 2006-11-02 17:34:21 +00:00