From: Rusty Russell Date: Mon, 19 Nov 2007 00:28:48 +0000 (+1100) Subject: [SCSI] BUG_ON() impossible condition in sg list counting X-Git-Tag: v2.6.25-rc1~1230^2~131 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a03d90e35bc5273d27301fa669d4b2103196f94;p=pandora-kernel.git [SCSI] BUG_ON() impossible condition in sg list counting If blk_rq_map_sg wrote more than was allocated in the scatterlist, BUG_ON() is probably the right thing to do. [jejb: rejections fixed up] Signed-off-by: Rusty Russell Acked-by: Jens Axboe Signed-off-by: James Bottomley --- Reading git-diff-tree failed