]> 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)
commitffeacaf020a5ec1b45d84e3c0518ae28dbeddcad
tree915b06441005e02d02c6e9f9549bd6449b70d501
parentc4103ad82adf1e0096f7a4258785a07057b7b6c4
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