summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/gvp11.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2006-07-08 20:42:15 +0200
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-07-09 11:56:44 -0500
commit631c228cd09bd5b93090fa60bd9803ec14aa0586 (patch)
tree3d15819bbdc30e291c342e06a0694184b1616996 /drivers/scsi/gvp11.h
parentae0fda0cdf009731a33f031f86df8566f1977ffe (diff)
downloadblackbird-op-linux-631c228cd09bd5b93090fa60bd9803ec14aa0586.tar.gz
blackbird-op-linux-631c228cd09bd5b93090fa60bd9803ec14aa0586.zip
[SCSI] hide EH backup data outside the scsi_cmnd
Currently struct scsi_cmnd has various fields that are used to backup original data after the corresponding fields have been overridden for EH commands. This means drivers can easily get at it and misuse it. Due to the old_ naming this doesn't happen for most of them, but two that have different names have been used wrong a lot (see previous patch). Another downside is that they unessecarily bloat the scsi_cmnd size. This patch moves them onstack in scsi_send_eh_cmnd to fix those two issues aswell as allowing future EH fixes like moving the EH command submissions to use SG lists like everything else. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/gvp11.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud