mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
92e73f5711
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 |
||
---|---|---|
.. | ||
hpfs_alsubr.c | ||
hpfs_ioctl.h | ||
hpfs_lookup.c | ||
hpfs_subr.c | ||
hpfs_subr.h | ||
hpfs_vfsops.c | ||
hpfs_vnops.c | ||
hpfs.h | ||
hpfsmount.h |