diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2011-11-13 19:58:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-21 14:35:29 -0800 |
commit | 742b42b9e87b64b2d2b54826dd3761897e71502d (patch) | |
tree | b390cc81884088880ae18bca15fa4751243486e7 /fs/isofs/util.c | |
parent | 5831e11b2e21372bf384ecc9ee3398fe5b8eaf6a (diff) |
block: Always check length of all iov entries in blk_rq_map_user_iov()
commit 6b76106d8ef31111d6fc469564b83b5f5542794f upstream.
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 <ben@decadent.org.uk>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/isofs/util.c')
0 files changed, 0 insertions, 0 deletions