sd, sr: fix Driver 'sd' needs updating message
authorHannes Reinecke <hare@suse.de>
Thu, 18 Jun 2009 07:57:18 +0000 (09:57 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 21 Jun 2009 17:01:27 +0000 (12:01 -0500)
commitb391277a56b9eaaff4474339c703e574ed7fab5b
tree81964fbb0a7582e110a0dc06b4ddfce8508c1bd3
parent24add1c4326ce5ca22e7af8b84bb113cd48efac9
sd, sr: fix Driver 'sd' needs updating message

If a SCSI ULD driver sets blk_queue_prep_rq(), it should clean it
up itself on remove(), and not from the bus callbacks. This
removes the need to hook into bus->remove(), which should not
be used at the same time as driver->remove().

[jejb: fix sdkp initialisation problem due to mismerge]
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_priv.h
drivers/scsi/scsi_sysfs.c
drivers/scsi/sd.c
drivers/scsi/sr.c
include/scsi/scsi_driver.h