git: dm - adjust use of minor numbers to new reality

看板DFBSD_commit作者時間15年前 (2010/11/20 09:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit db5960361ed268edf9f80dfac2622c68e5254c0c Author: Alex Hornung <ahornung@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
文章代碼(AID): #1CvoLhQP (DFBSD_commit)