summaryrefslogtreecommitdiff
path: root/drivers/scsi/hosts.c
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2010-07-03 08:45:34 (GMT)
committerJens Axboe <jaxboe@fusionio.com>2010-08-07 16:23:58 (GMT)
commit90467c294aba7f911bdae72ed86995cf1de4d364 (patch)
treef1b516586b02a477d78ccc627b0c298c2be982a3 /drivers/scsi/hosts.c
parentb6a903151d05e3912ab66b186f74c61851efb88c (diff)
downloadlinux-fsl-qoriq-90467c294aba7f911bdae72ed86995cf1de4d364.tar.xz
scsi: stop using q->prepare_flush_fn
scsi-ml builds flush requests via q->prepare_flush_fn(), however, builds discard requests via q->prep_rq_fn. Using two different mechnisms for the similar requests (building commands in SCSI ULD) doesn't make sense. Handing both via q->prep_rq_fn makes the code design simpler. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: James Bottomley <James.Bottomley@suse.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers/scsi/hosts.c')
0 files changed, 0 insertions, 0 deletions