[S390] dasd calls kzalloc while holding a spinlock.
authorHorst Hummel <horst.hummel@de.ibm.com>
Thu, 10 Aug 2006 13:45:16 +0000 (15:45 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 10 Aug 2006 13:45:16 +0000 (15:45 +0200)
commitd0710c7c9eea2145a0614f39dbe9dc8cb4ae14da
tree6d89207033a0a4a9e0c02b507a7f4745d40d4a9d
parentebc4599990898ecaaace7ed40dfad6d8d9f2a24a
[S390] dasd calls kzalloc while holding a spinlock.

The dasd function dasd_set_uid calls kzalloc while holding the
dasd_devmap_lock. Rearrange the code to do the memory allocation
outside the lock.

Signed-off-by: Horst Hummel <horst.hummel@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd_devmap.c
drivers/s390/block/dasd_eckd.c