linux/drivers
Vishal Verma 2acf04532d dax/bus.c: use the right locking mode (read vs write) in size_show
In size_show(), the dax_dev_rwsem only needs a read lock, but was
acquiring a write lock.  Change it to down_read_interruptible() so it
doesn't unnecessarily hold a write lock.

Link: https://lkml.kernel.org/r/20240430-vv-dax_abi_fixes-v3-4-e3dcd755774c@intel.com
Fixes: c05ae9d85b ("dax/bus.c: replace driver-core lock usage by a local rwsem")
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Cc: Alison Schofield <alison.schofield@intel.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-05-07 10:37:01 -07:00
..
accel fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
accessibility
acpi ACPI: scan: Do not increase dep_unmet for already met dependencies 2024-04-08 16:44:14 +02:00
amba
android
ata ata: libata-core: Allow command duration limits detection for ACS-4 drives 2024-04-13 10:42:28 +09:00
atm
auxdisplay
base regmap: Fixes for v6.9 2024-04-05 17:21:16 -07:00
bcma
block zram: add max_pages param to recompression 2024-04-25 20:56:30 -07:00
bluetooth Bluetooth: qca: fix device-address endianness 2024-03-29 09:48:37 -04:00
bus
cache cache: sifive_ccache: Partially convert to a platform driver 2024-03-28 22:40:56 +00:00
cdrom
cdx
char mm: switch mm->get_unmapped_area() to a flag 2024-04-25 20:56:25 -07:00
clk
clocksource
comedi
connector
counter
cpufreq
cpuidle
crypto x86/CPU/AMD: Track SNP host status with cc_platform_*() 2024-04-04 10:40:30 +02:00
cxl cxl fixes for v6.9-rc4 2024-04-11 16:49:11 -07:00
dax dax/bus.c: use the right locking mode (read vs write) in size_show 2024-05-07 10:37:01 -07:00
dca
devfreq
dio
dma
dma-buf
dpll
edac
eisa
extcon
firewire firewire: ohci: mask bus reset interrupts between ISR and bottom half 2024-04-06 09:36:46 +09:00
firmware Arm FF-A fix for v6.9 2024-04-09 16:29:48 +02:00
fpga
fsi
gnss
gpio gpio: cdev: fix missed label sanitizing in debounce_setup() 2024-04-04 18:57:08 +02:00
gpu fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
greybus
hid
hsi
hte
hv hyperv-fixes for v6.9-rc4 2024-04-11 16:23:56 -07:00
hwmon
hwspinlock
hwtracing fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
i2c i2c: pxa: hide unused icr_bits[] variable 2024-04-04 01:07:57 +02:00
i3c
idle
iio
infiniband
input
interconnect
iommu mm: change inlined allocation helpers to account at the call site 2024-04-25 20:55:59 -07:00
ipack
irqchip irqchip/gic-v3-its: Fix VSYNC referencing an unmapped VPE on GIC v4.1 2024-04-09 11:11:18 +02:00
isdn mISDN: fix MISDN_TIME_STAMP handling 2024-04-09 17:01:01 -07:00
leds
macintosh
mailbox
mcb
md Merge tag 'md-6.9-20240408' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md into block-6.9 2024-04-08 21:49:27 -06:00
media
memory
memstick
message
mfd
misc
mmc GPIO regression fixes for n8x0 2024-04-09 16:17:37 +02:00
most
mtd
mux
net fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
nfc
ntb
nubus
nvdimm
nvme nvme-fc: rename free_ctrl callback to match name pattern 2024-04-04 08:47:56 -07:00
nvmem
of of: module: prevent NULL pointer dereference in vsnprintf() 2024-03-27 17:05:07 -05:00
opp
parisc change alloc_pages name in dma_map_ops to avoid name conflicts 2024-04-25 20:55:53 -07:00
parport
pci Revert "PCI: Mark LSI FW643 to avoid bus reset" 2024-03-29 11:57:12 -05:00
pcmcia
peci
perf
phy
pinctrl Kbuild fixes for v6.9 2024-03-31 11:23:51 -07:00
platform fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
pmdomain
pnp
power
powercap
pps
ps3
ptp
pwm pwm: Fix setting period with #pwm-cells = <1> and of_pwm_single_xlate() 2024-03-29 13:50:10 +01:00
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 Revert "s390/ism: fix receive message buffer allocation" 2024-04-11 09:18:18 +02:00
sbus
scsi fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
sh
siox
slimbus
soc
soundwire
spi spi: mchp-pci1xxx: Fix a possible null pointer dereference in pci1xxx_spi_probe 2024-04-03 11:04:58 +01:00
spmi
ssb
staging mm: vmalloc: enable memory allocation profiling 2024-04-25 20:55:57 -07:00
target scsi: target: Fix SELinux error when systemd-modules loads the target module 2024-04-05 21:37:54 -04:00
tc
tee
thermal thermal: gov_power_allocator: Allow binding without trip points 2024-04-03 16:32:15 +02:00
thunderbolt
tty
ufs scsi: ufs: core: Fix MCQ mode dev command timeout 2024-04-01 21:43:46 -04:00
uio hyperv-fixes for v6.9-rc4 2024-04-11 16:23:56 -07:00
usb
vdpa
vfio mm: pass VMA instead of MM to follow_pte() 2024-05-05 17:53:27 -07:00
vhost vhost: correct misleading printing information 2024-04-08 04:11:04 -04:00
video
virt mm: pass VMA instead of MM to follow_pte() 2024-05-05 17:53:27 -07:00
virtio fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
w1
watchdog
xen change alloc_pages name in dma_map_ops to avoid name conflicts 2024-04-25 20:55:53 -07:00
zorro
Kconfig
Makefile