[S390] device_schedule_callback() for dcssblk.
authorGerald Schaefer <geraldsc@de.ibm.com>
Mon, 5 Nov 2007 10:10:09 +0000 (11:10 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 5 Nov 2007 10:10:16 +0000 (11:10 +0100)
commit931bb68ba6355b7111966c90822ed862c102a9cd
tree33899e3be8cfd386a79cc67b72b4bb8b2b963ac2
parent0fc3ddd67a6781238b038165d9dd8c1f9ba81111
[S390] device_schedule_callback() for dcssblk.

Unregistering a device from within a device attribute handler leads to
a deadlock. Need to use device_schedule_callback() to unregister device
in error path.

Signed-off-by: Gerald Schaefer <geraldsc@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dcssblk.c