freebsd-nq/sys/fs/ntfs
Alfred Perlstein 92e73f5711 I ran into an nfs client panic a couple of times in a row over the
last few days.  I tracked it down to the fact that nfs_reclaim()
is setting vp->v_data to NULL _before_ calling vnode_destroy_object().
After silence from the mailing list I checked further and discovered
that ufs_reclaim() is unique among FreeBSD filesystems for calling
vnode_destroy_object() early, long before tossing v_data or much
of anything else, for that matter.  The rest, including NFS, appear
to be identical, as if they were just clones of one original routine.

The enclosed patch fixes all file systems in essentially the same
way, by moving the call to vnode_destroy_object() to early in the
routine (before the call to vfs_hash_remove(), if any).  I have
only tested NFS, but I've now run for over eighteen hours with the
patch where I wouldn't get past four or five without it.

Submitted by: Frank Mayhar
Requested by: Mohan Srinivasan
MFC After: 1 week
2006-01-17 17:29:03 +00:00
..
ntfs_compr.c
ntfs_compr.h
ntfs_iconv.c - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
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 o Typo in the debug message: s/skiped/skipped. 2006-01-05 13:39:23 +00:00
ntfs_subr.h - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
ntfs_vfsops.c Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
ntfs_vfsops.h make M_NTFSMNT and ntfs_calccfree() static 2005-02-10 12:09:49 +00:00
ntfs_vnops.c I ran into an nfs client panic a couple of times in a row over the 2006-01-17 17:29:03 +00:00
ntfs.h Do not declare M_NTFSMNT with extern linkage here, since 2005-09-11 15:57:07 +00:00
ntfsmount.h - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00