Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: Always check length of all iov entries in blk_rq_map_user_iov()
Even after commit 5478755 ("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 <[email protected]> Cc: [email protected] Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information