diff options
author | David Disseldorp <ddiss@suse.de> | 2020-10-27 00:03:10 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-29 17:55:45 +0300 |
commit | 1f41be7d4e90e36084037cecba5978b3d7f849db (patch) | |
tree | 12ed4266e705aac6a2156619df5183da16f5bf16 /block | |
parent | 24bb45fddc09c5ed578eaa78dbb4f415729a2243 (diff) | |
download | linux-1f41be7d4e90e36084037cecba5978b3d7f849db.tar.xz |
lib/scatterlist: use consistent sg_copy_buffer() return type
sg_copy_buffer() returns a size_t with the number of bytes copied.
Return 0 instead of false if the copy is skipped.
Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions