[SCSI] always handle REQ_BLOCK_PC requests in common code
authorChristoph Hellwig <hch@lst.de>
Fri, 6 Jan 2006 17:34:07 +0000 (18:34 +0100)
committerJames Bottomley <jejb@mulgrave.(none)>
Sat, 14 Jan 2006 16:54:45 +0000 (10:54 -0600)
commit776b23a0363d99ca402edc1aba1db8099b747b33
tree20cab193388facc2506e3de2a3d931ab22d81ae4
parentd4054239929479907f20b9d68c905589125ad343
[SCSI] always handle REQ_BLOCK_PC requests in common code

LLDDs should never see REQ_BLOCK_PC requests, we can handle them just
fine in the core code.  There is a small behaviour change in that some
check in sr's rw_intr are bypassed, but I consider the old behaviour
a bug.

Mike found this cleanup opportunity and provdided early patches, so all
the credit goes to him, even if I redid the patches from scratch beause
that was easier than forward-porting the old patches.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_lib.c
drivers/scsi/sd.c
drivers/scsi/sr.c
drivers/scsi/st.c
include/scsi/scsi_cmnd.h