]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] bsg: fix bsg_unregister_queue
authorFUJITA Tomonori <tomof@acm.org>
Sat, 21 Jul 2007 04:23:25 +0000 (13:23 +0900)
committerJames Bottomley <jejb@mulgrave.localdomain>
Sat, 21 Jul 2007 13:58:41 +0000 (08:58 -0500)
commitdf468820b6881fc14e50f6b2fcffd3e945417d68
treed1c0adca77b728dae3f4653de0388202d4f5ee5a
parent39dca558a5b52b63e49bc234a7e887be092aa690
[SCSI] bsg: fix bsg_unregister_queue

scsi_sysfs_add_sdev ignores the bsg_register_queue failure, so
bsg_unregister_queue must check whether the queue has a bsg device.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
block/bsg.c