From: Ben Hutchings Date: Sun, 13 Nov 2011 18:58:09 +0000 (+0100) Subject: block: Always check length of all iov entries in blk_rq_map_user_iov() X-Git-Tag: v3.2-rc3~39^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b76106d8ef31111d6fc469564b83b5f5542794f;p=pandora-kernel.git block: Always check length of all iov entries in blk_rq_map_user_iov() Even after commit 5478755616ae2ef1ce144dded589b62b2a50d575 ("block: check for proper length of iov entries earlier ...") we still won't check for zero-length entries after an unaligned entry. Remove the break-statement, so all entries are checked. Signed-off-by: Ben Hutchings Cc: stable@vger.kernel.org Signed-off-by: Jens Axboe --- Reading git-diff-tree failed