DragonFly BSD
DragonFly commits List (threaded) for 2010-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: subr_disk - Implement create_named & bounds_check


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Jun 2010 18:13:29 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]