git: fd - Fix panic due to device_busy

Alex Hornung alexh at crater.dragonflybsd.org
Mon Aug 17 10:18:07 PDT 2009


commit cfa47be2c68f263beefed8602f21a4502ad4e426
Author: Alex Hornung <ahornung at gmail.com>
Date:   Mon Aug 17 18:37:53 2009 +0100

    fd - Fix panic due to device_busy
    
    * Fix panic introduced by 7ba1363dc2de5d52704, caused by a too
      early call to device_busy, before the device is marked as
      attached.
    
    NOTE: This might have yet unknown repercussions on the use of
          floppies.
    
    Suggested-By: Matthew Dillon

Summary of changes:
 sys/dev/disk/fd/fd.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list