diff options
author | David Howells <dhowells@redhat.com> | 2018-10-20 02:57:56 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-10-24 02:41:07 +0300 |
commit | 9ea9ce0427aab02a2fd88fc608267cf6952119f1 (patch) | |
tree | cc25d73e227737862ccad90bc38919bd268c685b /fs/afs/rxrpc.c | |
parent | aa563d7bca6e882ec2bdae24603c8f016401a144 (diff) | |
download | linux-9ea9ce0427aab02a2fd88fc608267cf6952119f1.tar.xz |
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/rxrpc.c')
0 files changed, 0 insertions, 0 deletions