summaryrefslogtreecommitdiff
path: root/include/linux/buffer_head.h
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2002-06-03 05:48:44 -0700
committerPatrick Mochel <mochel@osdl.org>2002-06-03 05:48:44 -0700
commitd6022129c2de4e47f258013743809a3da69edce4 (patch)
tree577a84a697eec005fcbe94b3f636569be4b8a81c /include/linux/buffer_head.h
parenta990709108dd9f27b7fd2b4a57bd56c4893e691c (diff)
device model udpate:
- make sure drv->devices is initialized on registration (from Peter Osterlund) - add remove_driver for forcing removal of driver There was a potential race with the module unload code. When a pci driver was unloaded, it would call pci_unregister_driver, which would simply call put_driver. If the driver's refcount wasn't 0, it wouldn't unbind it from devices, but the module unload would still continue. If something tried to access the driver later (since everyone thinks its still there), Bad Things would happen. This fixes it until there can be tighter integration between the device model and module unload code.
Diffstat (limited to 'include/linux/buffer_head.h')
0 files changed, 0 insertions, 0 deletions