Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 03/16/2000 10:26:51
Module Name:	syssrc
Committed By:	jdolecek
Date:		Thu Mar 16 18:26:50 UTC 2000

Modified Files:
	syssrc/sys/ufs/ufs: quota.h ufs_extern.h ufs_ihash.c ufs_quota.c
	    ufs_vfsops.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 syssrc/sys/ufs/ufs/quota.h
cvs rdiff -r1.22 -r1.23 syssrc/sys/ufs/ufs/ufs_extern.h
cvs rdiff -r1.9 -r1.10 syssrc/sys/ufs/ufs/ufs_ihash.c \
    syssrc/sys/ufs/ufs/ufs_vfsops.c
cvs rdiff -r1.13 -r1.14 syssrc/sys/ufs/ufs/ufs_quota.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.