Changeset 24597

Show
Ignore:
Timestamp:
03/26/08 16:51:02 (8 months ago)
Author:
korli
Message:

we should really check whether the devices are used before reloading the driver

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • haiku/trunk/src/system/kernel/fs/devfs.cpp

    r24552 r24597  
    17951795                // (it should fail in the driver's open(), though, if it doesn't) 
    17961796                if (driver != NULL 
     1797                        && (driver->devices_used == 0) 
    17971798                        && (driver->image < 0 || driver->binary_updated)) { 
    17981799                        status = reload_driver(driver);