git: kernel - Disallow dsioctl when no media is present

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


commit 0a540608ca71a822c1f78cdd2a79dbff452f47ba
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/0a540608ca71a822c1f78cdd2a79dbff452f47ba


-- 
DragonFly BSD source repository





More information about the Commits mailing list