WSL2-Linux-Kernel/drivers
Christoph Hellwig 92986f6b4c dm: use bio_clone_fast in alloc_io/alloc_tio
Replace open coded bio_clone_fast implementations with the actual helper.
Note that the bio allocated as part of the dm_io structure in alloc_io
will only actually be used later in alloc_tio, making this earlier
cloning of the information safe.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Link: https://lore.kernel.org/r/20220202160109.108149-12-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-02-04 07:43:18 -07:00
..
accessibility
acpi
amba
android
ata
atm
auxdisplay
base block: remove genhd.h 2022-02-02 07:49:59 -07:00
bcma
block drbd: set ->bi_bdev in drbd_req_new 2022-02-04 07:43:17 -07:00
bluetooth
bus
cdrom block: remove genhd.h 2022-02-02 07:49:59 -07:00
char block: remove genhd.h 2022-02-02 07:49:59 -07:00
clk
clocksource
comedi
connector
counter
cpufreq
cpuidle
crypto
cxl
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fpga
fsi
gnss
gpio
gpu
greybus
hid
hsi
hv
hwmon
hwspinlock
hwtracing
i2c
i3c
idle
iio
infiniband
input
interconnect
iommu
ipack
irqchip
isdn
leds
macintosh
mailbox
mcb
md dm: use bio_clone_fast in alloc_io/alloc_tio 2022-02-04 07:43:18 -07:00
media
memory
memstick
message
mfd
misc
mmc
most
mtd block: remove genhd.h 2022-02-02 07:49:59 -07:00
mux
net
nfc
ntb
nubus
nvdimm block: pass a block_device and opf to bio_alloc 2022-02-02 07:49:59 -07:00
nvme block: pass a block_device and opf to bio_init 2022-02-02 07:49:59 -07:00
nvmem
of
opp
parisc
parport
pci
pcmcia
perf
phy
pinctrl
platform
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 block: remove genhd.h 2022-02-02 07:49:59 -07:00
sbus
scsi scsi: use BLK_STS_OFFLINE for not fully online devices 2022-02-03 21:10:01 -07:00
sh
siox
slimbus
soc
soundwire
spi
spmi
ssb
staging
target block: pass a block_device and opf to bio_alloc 2022-02-02 07:49:59 -07:00
tc
tee
thermal
thunderbolt
tty
uio
usb
vdpa
vfio
vhost
video
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile