56aef4122f
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. |
||
---|---|---|
.. | ||
COPYRIGHT | ||
makestatetext | ||
request.h | ||
statetexts.h | ||
vinum.c | ||
vinumconfig.c | ||
vinumdaemon.c | ||
vinumext.h | ||
vinumhdr.h | ||
vinuminterrupt.c | ||
vinumio.c | ||
vinumio.h | ||
vinumioctl.c | ||
vinumkw.h | ||
vinumlock.c | ||
vinummemory.c | ||
vinumparser.c | ||
vinumrequest.c | ||
vinumrevive.c | ||
vinumstate.c | ||
vinumstate.h | ||
vinumutil.c | ||
vinumvar.h |