[SCSI] scsi_kmap_atomic_sg(): check that local irqs are disabled
commit22cfefb56b53103a99908ec63311e61c217eaffe
authorAndrew Morton <akpm@osdl.org>
Tue, 6 Feb 2007 00:39:03 +0000 (5 16:39 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 7 Feb 2007 23:29:36 +0000 (7 18:29 -0500)
tree94f82761269ddd07f6925aaf9817e72bd0deaf61
parent44746438973e4f9ed9bdf3347e75f60f105b325a
[SCSI] scsi_kmap_atomic_sg(): check that local irqs are disabled

The KM_BIO_SRC_IRQ kmap slot must be taken with local irqs disabled.  Add a
check into scsi for this.

Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_lib.c