diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-04-29 20:42:25 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-06-03 10:36:50 -0400 |
commit | 08aa64796016cb47b2ef3d0924653b4d944b0d65 (patch) | |
tree | b6409c65e15b8cce39dc273f9d3a21c88437c3b7 /virt | |
parent | 66cd071a1f839b4834d45aa7dde622151041b1a0 (diff) | |
download | linux-08aa64796016cb47b2ef3d0924653b4d944b0d65.tar.bz2 |
teach copy_page_to_iter() to handle compound pages
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: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions