diff options
| author | David Howells <[email protected]> | 2021-02-04 06:15:21 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2021-02-26 01:08:06 +0000 |
| commit | cf0604a686b11175d8beae60281c4ccc95aaa5c2 (patch) | |
| tree | 62ad782990865ba28f748e9e780925e1cc7a7693 /scripts/gcc-plugins/structleak_plugin.c | |
| parent | cifs: introduce helper for finding referral server to improve DFS target reso... (diff) | |
| download | kernel-cf0604a686b11175d8beae60281c4ccc95aaa5c2.tar.gz kernel-cf0604a686b11175d8beae60281c4ccc95aaa5c2.zip | |
cifs: use discard iterator to discard unneeded network data more efficiently
The iterator, ITER_DISCARD, that can only be used in READ mode and
just discards any data copied to it, was added to allow a network
filesystem to discard any unwanted data sent by a server.
Convert cifs_discard_from_socket() to use this.
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions
