Skip to content
Commit a41dad90 authored by Al Viro's avatar Al Viro
Browse files

iov_iter: saner checks for attempt to copy to/from iterator



instead of "don't do it to ITER_PIPE" check for ->data_source being
false on copying from iterator.  Check for !->data_source for
copying to iterator, while we are at it.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent fc02f337
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment