Re: [PATCH] block: Always check length of all iov entries in blk_rq_map_user_iov()

From: Jens Axboe
Date: Sun Nov 13 2011 - 13:57:18 EST


On 2011-11-13 19:55, Ben Hutchings wrote:
> 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.

Thanks, that is an oversight. Applied.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/