module: try_then_request_module must wait
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 Apr 2009 02:35:47 +0000 (10:35 +0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 9 Apr 2009 14:49:44 +0000 (07:49 -0700)
commit97c18e2c7a8e36d2d83d50ee070314aadac73a11
treefbccf33515ae3bb835e90af11da18614abde847e
parentf4efdd65b754ebbf41484d3a2255c59282720650
module: try_then_request_module must wait

Since the whole point of try_then_request_module is to retry
the operation after a module has been loaded, we must wait for
the module to fully load.

Otherwise all sort of things start breaking, e.g., you won't
be able to read your encrypted disks on the first attempt.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Tested-by: Maciej Rutecki <maciej.rutecki@gmail.com>
Tested-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kmod.h