linux_dsm_epyc7002/drivers
John Pittman 092b564876 dm zoned: target: use refcount_t for dm zoned reference counters
The API surrounding refcount_t should be used in place of atomic_t
when variables are being used as reference counters.  This API can
prevent issues such as counter overflows and use-after-free
conditions.  Within the dm zoned target stack, the atomic_t API is
used for bioctx->ref and cw->refcount.  Change these to use
refcount_t, avoiding the issues mentioned.

Signed-off-by: John Pittman <jpittman@redhat.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Tested-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2018-10-16 14:27:38 -04:00
..
accessibility
acpi
amba
android
ata for-linus-20180920 2018-09-21 09:41:05 +02:00
atm
auxdisplay
base Char/Misc fixes for 4.19-rc7 2018-10-07 08:15:57 +02:00
bcma
block for-linus-20180929 2018-09-29 14:52:14 -07:00
bluetooth
bus
cdrom
char
clk
clocksource clocksource/drivers/timer-atmel-pit: Properly handle error cases 2018-09-27 12:01:45 +02:00
connector
cpufreq cpufreq: qcom-kryo: Fix section annotations 2018-09-29 15:01:10 +02:00
cpuidle
crypto crypto: qat - Fix KASAN stack-out-of-bounds bug in adf_probe() 2018-09-28 12:45:37 +08:00
dax device-dax: Add missing address_space_operations 2018-09-22 09:07:33 -07:00
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fmc
fpga fpga: bridge: fix obvious function documentation error 2018-09-30 08:49:55 -07:00
fsi
gnss
gpio
gpu Merge branch 'drm-fixes-4.19' of git://people.freedesktop.org/~agd5f/linux into drm-fixes 2018-10-05 08:39:35 +10:00
hid HID: intel-ish-hid: Enable Ice Lake mobile 2018-09-24 11:46:15 +02:00
hsi
hv Drivers: hv: vmbus: Use get/put_cpu() in vmbus_connect() 2018-09-30 08:49:55 -07:00
hwmon
hwspinlock
hwtracing
i2c i2c: designware: Call i2c_dw_clk_rate() only when calculating timings 2018-10-05 13:40:05 +02:00
ide
idle
iio
infiniband Second rc pull request 2018-09-27 21:53:55 +02:00
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2018-09-28 18:04:50 -07:00
iommu iommu/amd: Clear memory encryption mask from physical address 2018-10-05 10:20:24 +02:00
ipack
irqchip
isdn
leds
lightnvm
macintosh
mailbox
mcb
md dm zoned: target: use refcount_t for dm zoned reference counters 2018-10-16 14:27:38 -04:00
media media: v4l: event: Prevent freeing event subscriptions while accessed 2018-10-03 06:32:51 -04:00
memory
memstick
message
mfd
misc
mmc mmc: slot-gpio: Fix debounce time to use miliseconds again 2018-09-28 17:43:48 +02:00
mtd
mux
net net: mvpp2: Extract the correct ethtype from the skb for tx csum offload 2018-10-05 14:52:43 -07:00
nfc
ntb
nubus
nvdimm
nvme nvme: properly propagate errors in nvme_mpath_init 2018-09-25 16:21:40 -07:00
nvmem
of
opp
oprofile
parisc
parport
pci pci-v4.19-fixes-3 2018-10-05 16:11:16 -07:00
pcmcia
perf
phy
pinctrl Revert "pinctrl: intel: Do pin translation when lock IRQ" 2018-09-25 12:50:00 +02:00
platform
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: fix crash caused by null driver data 2018-09-20 09:04:51 -07:00
remoteproc
reset
rpmsg
rtc
s390 s390: qeth: Fix potential array overrun in cmd/rc lookup 2018-09-28 10:27:26 -07:00
sbus
scsi scsi: qedi: Initialize the stats mutex lock 2018-09-28 02:28:05 -04:00
sfi
sh
siox
slimbus
sn
soc soc: fsl: qe: Fix copy/paste bug in ucc_get_tdm_sync_shift() 2018-09-25 13:57:26 -07:00
soundwire
spi spi: Fixes for v4.19 2018-09-28 18:04:06 -07:00
spmi
ssb
staging media fixes for v4.19-rc5 2018-09-24 15:16:41 +02:00
target scsi: target: iscsi: Use bin2hex instead of a re-implementation 2018-09-21 12:32:30 -04:00
tc
tee
thermal
thunderbolt thunderbolt: Initialize after IOMMUs 2018-10-02 10:51:16 -07:00
tty Revert "serial: sh-sci: Allow for compressed SCIF address" 2018-10-02 14:38:16 -07:00
uio
usb usb: xhci-mtk: resume USB3 roothub first 2018-10-01 17:59:02 -07:00
uwb
vfio
vhost
video video/fbdev/stifb: Fix spelling mistake in fall-through annotation 2018-09-26 18:50:54 +02:00
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile