summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2004-11-07 04:05:54 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-07 04:05:54 -0800
commit2170e4ac47d3d24697f132995b8db9543f69f161 (patch)
tree3d142d9d5ccd2019bb41c42486bd66c73e6b06e4 /include/linux
parent1cb2c359085dd19225cc7030d3204fc19a55dac0 (diff)
[PATCH] Don't ignore try_stop_module return
Since 2.6.4 we've been ignoring the failure of try_stop_module: it will normally fail if the module reference count is non-zero. This would have been mainly unnoticed, since "modprobe -r" checks the usage count before calling sys_delete_module(), however there is a race which would cause a hang in this case. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions