On Mon, Jun 27, 2011 at 12:01:51PM -0700, Matthew Dempsky wrote: > The diff below adds some very common disk driver logic into > subr_disk.c and refactors most of the MI disk drivers to take > advantage of them. I'll followup with the MD disk drivers later (a > lot of them need other cleanups anyway). > > There should be no behavioral change. The only part of the diff that > might not be intuitive is in cd.c and sd.c, the 'out' label is > effectively moved to before the partition validity check, but that's > okay because 'goto out' is only run when opening the raw partition > (which is still unconditionally allowed by disk_openpart()). > > ok? >
Reads nice on first pass. I'll toss it on my boxes and see what falls off. Just not sure if I have wd anywhere anymore ... .... Ken
