]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit19c147c99a7b26003d6bda974c6d0395c593f1b6
treeeb18378a8b2822be5a770eb7f32dafc32de9edad
parent717fd51c5395956f121f0ef81b559a5d289e96c1
[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