Up to [cvs.NetBSD.org] / src / sys / ufs / ufs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-1-5-BETA
Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 16 18:26:49 2000 UTC (24 years, 1 month ago) by jdolecek
Branch: MAIN
CVS Tags: 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
Changes since 1.9: +10 -1
lines
Diff to previous 1.9 (colored)
Change ufs_init() to keep global count of how many times it was called. Resources are initialized still just once (on first call). Add ufs_done(), which takes care of freeing all resources allocated in ufs_init(). The resources are freed only when last user of the code exits.