diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-09-17 05:48:51 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-09-23 15:44:58 +0930 |
commit | 3f2b9c9cdf389e303b2273679af08aab5f153517 (patch) | |
tree | 915b06441005e02d02c6e9f9549bd6449b70d501 /include | |
parent | d8524ae9d6f492a9c6db9f4d89c5f9b8782fa2d5 (diff) | |
download | linux-stable-3f2b9c9cdf389e303b2273679af08aab5f153517.tar.gz linux-stable-3f2b9c9cdf389e303b2273679af08aab5f153517.tar.bz2 linux-stable-3f2b9c9cdf389e303b2273679af08aab5f153517.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/module.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index 05f2447f8c15..15cd6b1b211e 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -367,9 +367,6 @@ struct module /* What modules do I depend on? */ struct list_head target_list; - /* Who is waiting for us to be unloaded */ - struct task_struct *waiter; - /* Destruction function. */ void (*exit)(void); |