K 10 svn:author V 4 grog K 8 svn:date V 27 1999-03-30T04:59:59.000000Z K 7 svn:log V 821 Revise use of the vinum_conf variables drives_used, subdisks_used, plexes_used and volumes_used. Now these fields are only informative, and the _allocated count is used for searches, etc. This also required checking the object state before doing things with the presumed object. Problems-reported-by: Kiril Mitev Remove unused (and braindead) functions volume_index, plex_index, sd_index and drive_index. Add a flag VF_CREATED for volumes. VF_NEWBORN was being used in two capacities, and they clashed, my Lord, they clashed. find_object: restructure the search loop as a result of the change in variable use. Decrement object use count in the remove_ functions, not in the free_ functions, which are often called with partially initialized (and uncounted) objects. END