]> git.baikalelectronics.ru Git - kernel.git/commit
module: remove rmmod --wait option.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 16 Sep 2013 20:18:51 +0000 (05:48 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 23 Sep 2013 06:14:58 +0000 (15:44 +0930)
commitd871a32ab8637b8590c6d984c7a8989ce0a894d7
tree915b06441005e02d02c6e9f9549bd6449b70d501
parent07221bc47111150f92753517b0f528d75db21716
module: remove rmmod --wait option.

The option to wait for a module reference count to reach zero was in
the initial module implementation, but it was never supported in
modprobe (you had to use rmmod --wait).  After discussion with Lucas,
It has been deprecated (with a 10 second sleep) in kmod for the last
year.

This finally removes it: the flag will evoke a printk warning and a
normal (non-blocking) remove attempt.

Cc: Lucas De Marchi <lucas.de.marchi@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/module.h
kernel/module.c