[SCSI] bsg: replace kobject_get with blk_get_queue
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 31 Mar 2008 01:03:39 +0000 (10:03 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 18 Apr 2008 16:47:49 +0000 (11:47 -0500)
commitc3ff1b90d8924dd1c55c3b56a79bfc563ace4a42
treec012845d2203b81afd4b2dade9dc9f0d453da906
parentd45ac4fa8f277e1ec5acfb67ce5d6406555760cf
[SCSI] bsg: replace kobject_get with blk_get_queue

Both takes a ref to a queue. But blk_get_queue checks QUEUE_FLAG_DEAD
and is more appropriate interface here.

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