From: Jens Axboe Date: Tue, 23 Oct 2007 07:49:25 +0000 (+0200) Subject: [BLOCK] blk_rq_map_sg: force clear termination bit X-Git-Tag: v2.6.24-rc1~34^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aeacf982203fb4dea2f3434eefdc268cfd5d6d9;p=pandora-kernel.git [BLOCK] blk_rq_map_sg: force clear termination bit Since blk_rq_map_sg() sets the termination bit at the end of the sg table, we could see it prematurely on the next mapping unless we force drivers to do a full sg_init_table() prior to each mapping. So force clear the termination bit to avoid having to put that clear in the driver for every mapping. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed