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()
commit 6b76106 upstream. 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 <ben@decadent.org.uk> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
- Loading branch information