• Al Viro's avatar
    teach copy_page_to_iter() to handle compound pages · 08aa6479
    Al Viro authored
    	In situation when copy_page_to_iter() got a compound page the current
    code would only work on systems with no CONFIG_HIGHMEM.  It *is* the majority
    of real-world setups, or we would've drown in bug reports by now.  Still needs
    fixing.
    
    	Current variant works for solitary page; rename that to
    __copy_page_to_iter() and turn the handling of compound pages into a loop over
    subpages.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    08aa6479
iov_iter.c 51.2 KB