aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2013-09-16 16:18:51 -0400
committerRusty Russell <rusty@rustcorp.com.au>2013-09-23 02:14:58 -0400
commit3f2b9c9cdf389e303b2273679af08aab5f153517 (patch)
tree915b06441005e02d02c6e9f9549bd6449b70d501 /include/linux/module.h
parentd8524ae9d6f492a9c6db9f4d89c5f9b8782fa2d5 (diff)
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/linux/module.h')
-rw-r--r--include/linux/module.h3
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
367 /* What modules do I depend on? */ 367 /* What modules do I depend on? */
368 struct list_head target_list; 368 struct list_head target_list;
369 369
370 /* Who is waiting for us to be unloaded */
371 struct task_struct *waiter;
372
373 /* Destruction function. */ 370 /* Destruction function. */
374 void (*exit)(void); 371 void (*exit)(void);
375 372