Up to [cvs.NetBSD.org] / src / sys / filecorefs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-1-5-ALPHA2
Revision 1.6 / (download) - annotate - [select for diffs], Thu Mar 16 18:08:22 2000 UTC (24 years ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base,
thorpej-devvp-base,
netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: thorpej-devvp,
nathanw_sa,
kqueue
Changes since 1.5: +2 -1
lines
Diff to previous 1.5 (colored)
Add new VFS op routine - vfs_done and call it on filesystem detach in vfs_detach(). vfs_done may free global filesystem's resources, typically those allocated in respective filesystem's init function. Needed so those filesystems which went in via LKM have a chance to clean after themselves before unloading. This fixes random panics when LKM for filesystem using pools was loaded and unloaded several times. For each leaf filesystem, add appropriate vfs_done routine.