[PATCH] fix NMI lockup with CFQ scheduler
author <axboe@suse.de> <>
Tue, 12 Apr 2005 21:22:06 +0000 (16:22 -0500)
committerJames Bottomley <jejb@titanic>
Sun, 17 Apr 2005 01:10:09 +0000 (20:10 -0500)
commit152587deb8903c0edf483a5b889f975bc6bea7e0
tree62fc13bff0a28134adbb523ed1a2c0efdd9a85cb
parent56fece20086ebe32bce2c0d74ceadd516b56baae
[PATCH] fix NMI lockup with CFQ scheduler

The current problem seen is that the queue lock is actually in the
SCSI device structure, so when that structure is freed on device
release, we go boom if the queue tries to access the lock again.

The fix here is to move the lock from the scsi_device to the queue.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/block/ll_rw_blk.c
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_scan.c
include/linux/blkdev.h
include/scsi/scsi_device.h