]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commiteaaa5e1c143145d146ec68390d47951b2574cb22
tree6d89207033a0a4a9e0c02b507a7f4745d40d4a9d
parent891da2c014e8e95c64fc075166ba373bcb1ad899
[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