Improve the utility function unload_module

In some cases, a simple 'modprobe -r' won't remove a kernel module with
dependencies. This patch makes module removal more robust, handling
cases that simple 'modprobe -r' won't cut it.

Impact: Low (users of the function unload_module will notice it handles
better removal of modules with dependencies).

Signed-off-by: Mike Burns <mburns@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3219 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed