grog 56aef4122f Revise use of the vinum_conf variables drives_used, subdisks_used,
plexes_used and volumes_used.  Now these fields are only informative,
and the <object>_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 <kiril@ideaglobal.com>

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_<object> functions, not in
the free_<object> functions, which are often called with partially
initialized (and uncounted) objects.
1999-03-30 04:59:59 +00:00
..
1999-02-25 07:45:47 +00:00
1999-03-23 07:27:38 +00:00
1999-03-11 18:50:39 +00:00
1999-03-13 13:20:59 +00:00
1999-01-27 19:35:33 +00:00
1999-03-13 16:22:18 +00:00
1999-01-12 00:36:36 +00:00