diff options
author | Christoph Hellwig <hch@lst.de> | 2006-07-14 10:29:34 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-07-14 09:41:13 -0500 |
commit | 79bd3f8563a275d1d068bbb9189a746dc6e96f3e (patch) | |
tree | e4139f1bdf0b32ac05aeb225709272e03ac1f302 /drivers/fc4/fc.c | |
parent | 92c0bfea9ba61ec2d3a6d4fb1af39358d5e52b71 (diff) | |
download | op-kernel-dev-79bd3f8563a275d1d068bbb9189a746dc6e96f3e.zip op-kernel-dev-79bd3f8563a275d1d068bbb9189a746dc6e96f3e.tar.gz |
[SCSI] More buffer->request_buffer changes
Seem like quite a few splipped through the cracks. Here's a patch to
update all references I could find:
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/fc4/fc.c')
-rw-r--r-- | drivers/fc4/fc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/fc4/fc.c b/drivers/fc4/fc.c index 66d03f2..1a159e8 100644 --- a/drivers/fc4/fc.c +++ b/drivers/fc4/fc.c @@ -429,7 +429,7 @@ static inline void fcp_scsi_receive(fc_channel *fc, int token, int status, fc_hd if (fcmd->data) { if (SCpnt->use_sg) - dma_unmap_sg(fc->dev, (struct scatterlist *)SCpnt->buffer, + dma_unmap_sg(fc->dev, (struct scatterlist *)SCpnt->request_buffer, SCpnt->use_sg, SCpnt->sc_data_direction); else @@ -810,7 +810,7 @@ static int fcp_scsi_queue_it(fc_channel *fc, Scsi_Cmnd *SCpnt, fcp_cmnd *fcmd, i SCpnt->request_bufflen, SCpnt->sc_data_direction); } else { - struct scatterlist *sg = (struct scatterlist *)SCpnt->buffer; + struct scatterlist *sg = (struct scatterlist *)SCpnt->request_buffer; int nents; FCD(("XXX: Use_sg %d %d\n", SCpnt->use_sg, sg->length)) |