git: dm - adjust use of minor numbers to new reality
Alex Hornung
alexh at crater.dragonflybsd.org
Tue Nov 16 06:43:10 PST 2010
commit db5960361ed268edf9f80dfac2622c68e5254c0c
Author: Alex Hornung <ahornung at gmail.com>
Date: Thu Nov 4 20:31:54 2010 +0000
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.
Summary of changes:
sys/dev/disk/dm/device-mapper.c | 10 +++++++++-
sys/dev/disk/dm/dm_ioctl.c | 12 +++++++-----
2 files changed, 16 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/db5960361ed268edf9f80dfac2622c68e5254c0c
--
DragonFly BSD source repository
More information about the Commits
mailing list