diff options
author | David Howells <dhowells@redhat.com> | 2018-10-20 01:57:56 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-10-24 01:41:07 +0200 |
commit | 9ea9ce0427aab02a2fd88fc608267cf6952119f1 (patch) | |
tree | cc25d73e227737862ccad90bc38919bd268c685b /fs/afs/vlclient.c | |
parent | iov_iter: Separate type from direction and use accessor functions (diff) | |
download | linux-9ea9ce0427aab02a2fd88fc608267cf6952119f1.tar.xz linux-9ea9ce0427aab02a2fd88fc608267cf6952119f1.zip |
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: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/vlclient.c')
0 files changed, 0 insertions, 0 deletions