summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-05-30 22:53:43 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2021-06-02 17:50:38 -0400
commit9067931236651c8bde847d17a2f862d052e672b7 (patch)
tree0cc421fee7d9cd6ad32a4d46ebf3b8d5395104f1 /mm
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
downloadlinux-stable-9067931236651c8bde847d17a2f862d052e672b7.tar.gz
linux-stable-9067931236651c8bde847d17a2f862d052e672b7.tar.bz2
linux-stable-9067931236651c8bde847d17a2f862d052e672b7.zip
ntfs_copy_from_user_iter(): don't bother with copying iov_iter
Advance the original, let the caller revert if it needs to. Don't mess with iov_iter_single_seg_count() in the caller - if we got a (non-zero) short copy, use the amount actually copied for the next pass, limit it to "up to the end of page" if nothing got copied at all. Originally fault-in only read the first iovec; back then it used to make sense to limit to the just one iovec for the pass after short copy. These days it's no long true. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions