aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/scsi/scsi_lib.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-04-14 09:42:22 +0200
committerJens Axboe <axboe@kernel.dk>2020-04-22 10:47:06 -0600
commit89de1504d53b59b12bfff227328ee3e63dd3a112 (patch)
tree2205ed1010c146887a329bdf953b74b04afedd87 /drivers/scsi/scsi_lib.c
parentblock: remove RQF_COPY_USER (diff)
downloadwireguard-linux-89de1504d53b59b12bfff227328ee3e63dd3a112.tar.xz
wireguard-linux-89de1504d53b59b12bfff227328ee3e63dd3a112.zip
block: provide a blk_rq_map_sg variant that returns the last element
To be able to move some of the special purpose hacks in blk_rq_map_sg into the callers we need a variant that returns the last mapped S/G list element to the caller. Add that variant as __blk_rq_map_sg and make blk_rq_map_sg a trivial inline wrapper around it. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
0 files changed, 0 insertions, 0 deletions