diff options
| author | David Howells <[email protected]> | 2023-02-27 13:04:53 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2023-03-02 00:18:25 +0000 |
| commit | 0268792f77d2e4ba8e056173bdf2f9af9963be76 (patch) | |
| tree | 85785aa47062fbbdf5f433cd89350a183861da98 /tools/perf/scripts/python/netdev-times.py | |
| parent | cifs: reuse cifs_match_ipaddr for comparison of dstaddr too (diff) | |
| download | kernel-0268792f77d2e4ba8e056173bdf2f9af9963be76.tar.gz kernel-0268792f77d2e4ba8e056173bdf2f9af9963be76.zip | |
cifs: Fix cifs_write_back_from_locked_folio()
cifs_write_back_from_locked_folio() should return the number of bytes read,
but returns the result of ->async_writev(), which will be 0 on success. As
it happens, this doesn't prevent cifs_writepages_region() from working as
it will then examine and ignore the pages that are no longer dirty rather
than just skipping over them.
Fixes: d08089f649a0 ("cifs: Change the I/O paths to use an iterator rather than a page list")
Signed-off-by: David Howells <[email protected]>
cc: Shyam Prasad N <[email protected]>
cc: Rohith Surabattula <[email protected]>
cc: Tom Talpey <[email protected]>
cc: Jeff Layton <[email protected]>
cc: [email protected]
Reviewed-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
