]> git.baikalelectronics.ru Git - kernel.git/commit
module: remove warning about waiting module removal.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 28 Apr 2014 01:35:43 +0000 (11:05 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 28 Apr 2014 01:36:59 +0000 (11:06 +0930)
commit02e3a4aa5084dc836b6b9d9c379b1ca08a144b27
treedda5d44feb8ef0845c8c367c2e3a223b46f6a8e7
parentbd3f091d1e0eff1d6de311d4e00124b563720fc6
module: remove warning about waiting module removal.

We remove the waiting module removal in commit d871a32ab863 (September
2013), but it turns out that modprobe in kmod (< version 16) was
asking for waiting module removal.  No one noticed since modprobe would
check for 0 usage immediately before trying to remove the module, and
the race is unlikely.

However, it means that anyone running old (but not ancient) kmod
versions is hitting the printk designed to see if anyone was running
"rmmod -w".  All reports so far have been false positives, so remove
the warning.

Fixes: d871a32ab8637b8590c6d984c7a8989ce0a894d7
Reported-by: Valerio Vanni <valerio.vanni@inwind.it>
Cc: Elliott, Robert (Server Storage) <Elliott@hp.com>
Cc: stable@kernel.org
Acked-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c