From: FUJITA Tomonori Date: Fri, 4 Jul 2008 07:31:50 +0000 (+0200) Subject: scsi: sr avoids useless buffer allocation X-Git-Tag: v2.6.27-rc1~1114^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62858dacc8dea55c5bdb474ccd8acb0657e23dd0;p=pandora-kernel.git scsi: sr avoids useless buffer allocation blk_rq_map_kern can handle the stack buffers correctly (avoid DMA from/to the stack buffers by using the bounce buffer) so we don't need to complicate the code by allocating just 8 bytes. Signed-off-by: FUJITA Tomonori Cc: James Bottomley Cc: Bartlomiej Zolnierkiewicz Cc: Thomas Bogendoerfer Cc: Tejun Heo Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe --- Reading git-diff-tree failed