linux_dsm_epyc7002/drivers
Javier González 42bd0384d7 lightnvm: pblk: avoid ref warning on cache creation
The current kref implementation around pblk global caches triggers a
false positive on refcount_inc_checked() (when called) as the kref is
initialized to 0. Instead of usint kref_inc() on a 0 reference, which is
in principle correct, use kref_init() to avoid the check. This is also
more explicit about what actually happens on cache creation.

In the process, do a small refactoring to use kref helpers.

Fixes: 1864de94ec "lightnvm: pblk: stop recreating global caches"
Signed-off-by: Javier González <javier@cnexlabs.com>
Reviewed-by: Hans Holmberg <hans.holmberg@cnexlabs.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-12-11 12:22:34 -07:00
..
accessibility
acpi libnvdimm fixes 4.20-rc6 2018-12-09 09:46:54 -08:00
amba
android
ata Linux 4.20-rc6 2018-12-09 17:45:40 -07:00
atm
auxdisplay
base
bcma
block mtip32xx: use BLK_STS_DEV_RESOURCE for device resources 2018-12-10 14:45:19 -07:00
bluetooth
bus
cdrom
char
clk
clocksource
connector
cpufreq
cpuidle
crypto
dax
dca
devfreq
dio
dma dmaengine: dw: Fix FIFO size for Intel Merrifield 2018-12-06 22:53:05 +05:30
dma-buf
edac
eisa
extcon
firewire
firmware
fmc
fpga
fsi
gnss gnss: sirf: fix activation retry handling 2018-12-06 17:22:23 +01:00
gpio
gpu drm/ast: Fix connector leak during driver unload 2018-12-06 14:12:02 +10:00
hid
hsi
hv
hwmon
hwspinlock
hwtracing
i2c i2c: uniphier-f: fix violation of tLOW requirement for Fast-mode 2018-12-06 23:14:59 +01:00
ide Linux 4.20-rc6 2018-12-09 17:45:40 -07:00
idle
iio
infiniband
input
iommu
ipack
irqchip
isdn
leds
lightnvm lightnvm: pblk: avoid ref warning on cache creation 2018-12-11 12:22:34 -07:00
macintosh
mailbox
mcb
md dm: fix request-based dm's use of dm_wait_for_completion 2018-12-11 07:40:02 -07:00
media
memory
memstick
message
mfd
misc
mmc
mtd
mux
net bnxt_en: Fix _bnxt_get_max_rings() for 57500 chips. 2018-12-09 11:46:58 -08:00
nfc
ntb
nubus
nvdimm Linux 4.20-rc6 2018-12-09 17:45:40 -07:00
nvme lightnvm: simplify geometry enumeration 2018-12-11 12:22:34 -07:00
nvmem
of
opp
oprofile
parisc
parport
pci Linux 4.20-rc6 2018-12-09 17:45:40 -07:00
pcmcia
perf
phy
pinctrl
platform
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 Linux 4.20-rc6 2018-12-09 17:45:40 -07:00
sbus
scsi Linux 4.20-rc6 2018-12-09 17:45:40 -07:00
sfi
sh
siox
slimbus
sn
soc
soundwire
spi
spmi
ssb
staging Staging fixes for 4.20-rc6 2018-12-09 10:35:33 -08:00
target
tc
tee
thermal
thunderbolt
tty TTY driver fixes for 4.20-rc6 2018-12-09 10:24:29 -08:00
uio
usb USB-serial fix for v4.20-rc6 2018-12-06 18:02:58 +01:00
uwb
vfio
vhost Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-12-09 15:12:33 -08:00
video
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile