]> git.karo-electronics.de Git - karo-tx-linux.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)
commit3f2b9c9cdf389e303b2273679af08aab5f153517
tree915b06441005e02d02c6e9f9549bd6449b70d501
parentd8524ae9d6f492a9c6db9f4d89c5f9b8782fa2d5
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