• A
    iomap_dio_actor(): fix iov_iter bugs · cfe057f7
    Al Viro 提交于
    1) Ignoring return value from iov_iter_zero() is wrong
    for iovec-backed case as well as for pipes - it can fail.
    
    2) Failure to fault destination pages in 25Mb into a 50Mb iovec
    should not act as if nothing in the area had been read, nevermind
    that the first 25Mb might have *already* been read by that point.
    Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
    cfe057f7
iomap.c 25.1 KB