• Al Viro's avatar
    new helper: generic_file_read_iter() · ed978a81
    Al Viro authored
    iov_iter-using variant of generic_file_aio_read().  Some callers
    converted.  Note that it's still not quite there for use as ->read_iter() -
    we depend on having zero iter->iov_offset in O_DIRECT case.  Fortunately,
    that's true for all converted callers (and for generic_file_aio_read() itself).
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    ed978a81
file.c 33.2 KB