]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commita6edb1c64671dcea16e2b073d2a288c0b68bd43b
tree20cab193388facc2506e3de2a3d931ab22d81ae4
parentf6a47572c4245ffd68a38f61c87b8373713345f6
[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