git: kernel - Move dsched_disk_destroy_callback() call

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Nov 30 15:32:51 PST 2012


commit 0ec487a5c52e7a913e7238b2268e0ae0187c691b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Nov 30 15:30:35 2012 -0800

    kernel - Move dsched_disk_destroy_callback() call
    
    * Move the dsched_disk_destroy_callback() call from the caller to the
      message handler to avoid racing a disk probe that might be running at
      the time (if a disk device is added and destroyed quickly).

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0ec487a5c52e7a913e7238b2268e0ae0187c691b


-- 
DragonFly BSD source repository


More information about the Commits mailing list