WSL2-Linux-Kernel/drivers
Christoph Hellwig e5d66a1032 loop: don't allow deleting an unspecified loop device
Passing a negative index to loop_lookup while return any unbound device.
Doing that for a delete does not make much sense, so add check to
explicitly reject that case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210623145908.92973-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-06-30 15:34:13 -06:00
..
accessibility
acpi for-5.14/drivers-2021-06-29 2021-06-30 12:21:16 -07:00
amba
android
ata
atm
auxdisplay
base Merge branch 'akpm' (patches from Andrew) 2021-06-29 17:29:11 -07:00
bcma
block loop: don't allow deleting an unspecified loop device 2021-06-30 15:34:13 -06:00
bluetooth
bus
cdrom
char Merge tag 'tpmdd-next-v5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd 2021-06-30 11:23:33 -07:00
clk
clocksource
comedi
connector
counter
cpufreq
cpuidle Power management updates for 5.14-rc1 2021-06-29 13:36:06 -07:00
crypto
cxl
dax fs: remove noop_set_page_dirty() 2021-06-29 10:53:48 -07:00
dca
devfreq
dio
dma
dma-buf
edac Various fixes and support for new CPUS 2021-06-30 11:27:49 -07:00
eisa
extcon
firewire
firmware arm64 updates for 5.14 2021-06-28 14:04:24 -07:00
fpga
fsi
gnss
gpio platform-drivers-x86 for v5.14-1 2021-06-30 11:15:39 -07:00
gpu Merge branch 'akpm' (patches from Andrew) 2021-06-29 17:29:11 -07:00
greybus
hid Merge branch 'for-5.14/multitouch' into for-linus 2021-06-30 09:15:15 +02:00
hsi
hv hyperv-next for 5.14 2021-06-29 11:21:35 -07:00
hwmon fallthrough fixes for Clang for 5.14-rc1 2021-06-28 20:03:38 -07:00
hwspinlock
hwtracing
i2c ACPI updates for 5.14-rc1 2021-06-29 13:39:41 -07:00
i3c
idle
iio
infiniband
input platform-drivers-x86 for v5.14-1 2021-06-30 11:15:39 -07:00
interconnect
iommu
ipack
irqchip Updates for the interrupt subsystem: 2021-06-29 12:25:04 -07:00
isdn
leds
lightnvm
macintosh
mailbox mbox: add polarfire soc system controller mailbox 2021-06-26 12:06:48 -05:00
mcb
md for-5.14/drivers-2021-06-29 2021-06-30 12:21:16 -07:00
media Merge branch 'akpm' (patches from Andrew) 2021-06-29 17:29:11 -07:00
memory
memstick for-5.14/block-2021-06-29 2021-06-30 12:12:56 -07:00
message
mfd platform-drivers-x86 for v5.14-1 2021-06-30 11:15:39 -07:00
misc Merge branch 'akpm' (patches from Andrew) 2021-06-29 17:29:11 -07:00
mmc mmc: initialized disk->minors 2021-06-30 15:34:04 -06:00
most
mtd for-5.14/block-2021-06-29 2021-06-30 12:12:56 -07:00
mux
net hyperv-next for 5.14 2021-06-29 11:21:35 -07:00
nfc
ntb
nubus
nvdimm
nvme for-5.14/drivers-2021-06-29 2021-06-30 12:21:16 -07:00
nvmem
of
opp
parisc
parport
pci hyperv-next for 5.14 2021-06-29 11:21:35 -07:00
pcmcia
perf
phy
pinctrl
platform Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid 2021-06-30 11:31:32 -07:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 for-5.14/block-2021-06-29 2021-06-30 12:12:56 -07:00
sbus
scsi for-5.14/block-2021-06-29 2021-06-30 12:12:56 -07:00
sh
siox
slimbus
soc Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2021-06-28 16:04:56 -07:00
soundwire
spi
spmi
ssb
staging Updates for the interrupt subsystem: 2021-06-29 12:25:04 -07:00
target
tc
tee fallthrough fixes for Clang for 5.14-rc1 2021-06-28 20:03:38 -07:00
thermal Scheduler udpates for this cycle: 2021-06-28 12:14:19 -07:00
thunderbolt
tty
uio
usb printk changes for 5.14 2021-06-29 12:07:18 -07:00
vdpa
vfio vfio: use vma_lookup() instead of find_vma_intersection() 2021-06-29 10:53:51 -07:00
vhost
video
virt
virtio virtio_balloon: specify page reporting order if needed 2021-06-29 10:53:47 -07:00
visorbus
vlynq
vme
w1
watchdog Updates for the interrupt subsystem: 2021-06-29 12:25:04 -07:00
xen
zorro
Kconfig
Makefile hyperv-next for 5.14 2021-06-29 11:21:35 -07:00