lkml.org 
[lkml]   [2011]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] block: Always check length of all iov entries in blk_rq_map_user_iov()
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



\
 
 \ /
  Last update: 2011-11-13 19:59    [W:1.040 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site