git: DragonFly_RELEASE_2_6 kernel - Disallow dsioctl when no media is present

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Apr 30 11:10:45 PDT 2010


commit b57dec73f79ba342969fb41ecdbe00b39b015b08
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Apr 30 11:06:56 2010 -0700

    kernel - Disallow dsioctl when no media is present
    
    * Attempt to fix a panic which can occur when attempts are made to
      call ioctl() via a slice/partition on removable drives with no media.

Summary of changes:
 sys/kern/subr_diskslice.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b57dec73f79ba342969fb41ecdbe00b39b015b08


-- 
DragonFly BSD source repository





More information about the Commits mailing list