[S390] zcrypt: fix possible race when unloading zcrypt driver modules
authorRalph Wuerthner <rwuerthn@de.ibm.com>
Mon, 19 Mar 2007 12:19:19 +0000 (13:19 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 19 Mar 2007 12:19:19 +0000 (13:19 +0100)
Move try_module_get() call into spin protected block to prevent zcrypt
driver module unload while submitting a request to driver.

Signed-off-by: Ralph Wuerthner <rwuerthn@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

No differences found