]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdf06016f64fb117a1999bd7ebfc431196586d5dc
treefbccf33515ae3bb835e90af11da18614abde847e
parentee8736bdafcaaf8e700dbb3e4feb451983612847
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