dm - adjust use of minor numbers to new reality
authorAlex Hornung <ahornung@gmail.com>
Thu, 4 Nov 2010 20:31:54 +0000 (20:31 +0000)
committerAlex Hornung <ahornung@gmail.com>
Thu, 4 Nov 2010 20:31:54 +0000 (20:31 +0000)
commitdb5960361ed268edf9f80dfac2622c68e5254c0c
treecec49684182d6e62def71171d7728a622c611fd7
parent81b331be9ab130594beff0f11092ca9b4134f9a5
dm - adjust use of minor numbers to new reality

* Allocate (theoretical) minor numbers using the devfs_clone_bitmap
  facility instead of an ever-increasing int64.

* Set the actual minor of the dm-specific device information to the
  minor returned by the disk subsystem.

* Undo some of the dkunit() uses as they only covered very specific use
  cases.
sys/dev/disk/dm/device-mapper.c
sys/dev/disk/dm/dm_ioctl.c