aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorMike Galbraith <[email protected]>2007-02-21 12:45:35 -0800
committerGreg Kroah-Hartman <[email protected]>2007-02-23 14:52:09 -0800
commit63ce18cfe685115ff8d341bae4c9204a79043cf0 (patch)
tree7f37a6f9f0453b2122e490d6ef68f213d8a878a3 /include/linux/debugobjects.h
parent40cf67c5fcc513406558c01b91129280208e57bf (diff)
driver core: refcounting fix
Fix a reference counting bug exposed by commit 725522b5453dd680412f2b6463a988e4fd148757. If driver.mod_name exists, we take a reference in module_add_driver(), and never release it. Undo that reference in module_remove_driver(). Signed-off-by: Mike Galbraith <[email protected]> Cc: Kay Sievers <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions