From: FUJITA Tomonori Date: Sat, 3 Jul 2010 08:45:34 +0000 (+0900) Subject: scsi: stop using q->prepare_flush_fn X-Git-Tag: v2.6.36-rc1~288^2~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90467c294aba7f911bdae72ed86995cf1de4d364;p=pandora-kernel.git 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 Cc: James Bottomley Reviewed-by: Christoph Hellwig Signed-off-by: Jens Axboe --- Reading git-diff-tree failed