aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-10-21 06:06:04 +0000
committerJens Axboe <[email protected]>2021-10-22 14:33:57 +0000
commit237ea1602fb4cd14cd31b745a56fd0639c58eea3 (patch)
treeb319b336363722401b339f6f90bce21aac09f8da /fs/btrfs/dev-replace.c
parentnfsd/blocklayout: use ->get_unique_id instead of sending SCSI commands (diff)
downloadkernel-237ea1602fb4cd14cd31b745a56fd0639c58eea3.tar.gz
kernel-237ea1602fb4cd14cd31b745a56fd0639c58eea3.zip
bsg-lib: initialize the bsg_job in bsg_transport_sg_io_fn
Directly initialize the bsg_job structure instead of relying on the ->.initialize_rq_fn indirection. This also removes the superflous initialization of the second request used for BIDI requests. 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