diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-10-23 17:21:33 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-25 08:00:48 -0600 |
commit | fa5fa8ec6077a954e1aeb206fece15255b19e7b9 (patch) | |
tree | 943d17b513dab06fc7a80a2fd8402bc1c20afd2c /Documentation/scsi/lpfc.rst | |
parent | 54a88eb838d37af930c9f19e1930a4fba6789cb5 (diff) | |
download | linux-fa5fa8ec6077a954e1aeb206fece15255b19e7b9.tar.bz2 |
block: refactor bio_iov_bvec_set()
Combine bio_iov_bvec_set() and bio_iov_bvec_set_append() and let the
caller to do iov_iter_advance(). Also get rid of __bio_iov_bvec_set(),
which was duplicated in the final binary, and replace a weird
iov_iter_truncate() of a temporal iter copy with min() better reflecting
the intention.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/bcf1ac36fce769a514e19475f3623cd86a1d8b72.1635006010.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/scsi/lpfc.rst')
0 files changed, 0 insertions, 0 deletions