Skip to content
Commit 9ea9ce04 authored by David Howells's avatar David Howells
Browse files

iov_iter: Add I/O discard iterator



Add a new iterator, ITER_DISCARD, that can only be used in READ mode and
just discards any data copied to it.

This is useful in a network filesystem for discarding any unwanted data
sent by a server.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent aa563d7b
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