git: subr_disk - Implement create_named & bounds_check

看板DFBSD_commit作者時間15年前 (2010/06/27 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit c6ef65eafb251f9c905af44fd734cf8201087922 Author: Alex Hornung <ahornung@gmail.com> Date: Sun Jun 13 09:41:56 2010 +0100 subr_disk - Implement create_named & bounds_check * Implement a disk_create_named to allow disks to be arbitrarily named, not necessarily <driver name><unit>. * Implement a bounds_check_with_mediasize, which bound-checks a bio against a given media size and sector size. Summary of changes: sys/kern/subr_disk.c | 62 +++++++++++++++++++++++++++++++++++++++++-------- sys/sys/disk.h | 3 ++ 2 files changed, 55 insertions(+), 10 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c6ef65eafb251f9c905af44fd734cf8201087922 -- DragonFly BSD source repository
文章代碼(AID): #1C9geLpy (DFBSD_commit)