aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-10-21 06:06:05 +0000
committerJens Axboe <[email protected]>2021-10-22 14:33:57 +0000
commit68ec3b819a5d600a4ede8b596761dccac9f39ebc (patch)
tree3c5e400ee170381870fd834cada2f60c5d795302 /fs/btrfs/dev-replace.c
parentbsg-lib: initialize the bsg_job in bsg_transport_sg_io_fn (diff)
downloadkernel-68ec3b819a5d600a4ede8b596761dccac9f39ebc.tar.gz
kernel-68ec3b819a5d600a4ede8b596761dccac9f39ebc.zip
scsi: add a scsi_alloc_request helper
Add a new helper that calls blk_get_request and initializes the scsi_request to avoid the indirect call through ->.initialize_rq_fn. Note that this makes the pktcdvd driver depend on the SCSI core, but given that only SCSI devices support SCSI passthrough requests that is not a functional change. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions