看板 DFBSD_commit 關於我們 聯絡資訊
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