CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2011/07/02 11:39:12
Modified files: sys/dev : softraid.c softraidvar.h Log message: Cleanup the softraid boot probe code. Rename the rather poorly named sr_metadata_list struct to sr_boot_chunk and use a sr_metadata struct rather than an array of u_int8_t when storing the metadata. Also rename some variables to keep the boot volume/boot chunk consistency. This diff also fixes a memory leak where the structures were never freed for key disks. Otherwise there should be no functional change. ok marco@