Alasdair G Kergon
bfc5ecdf48
[PATCH] dm: fix find_device race
...
There is a race between dev_create() and find_device().
If the mdptr has not yet been stored against a device, find_device() needs to
behave as though no device was found. It already returns NULL, but there is a
dm_put() missing: it must drop the reference dm_get_md() took.
The bug was introduced by dm-fix-mapped-device-ref-counting.patch.
It manifests itself if another dm ioctl attempts to reference a newly-created
device while the device creation ioctl is still running. The consequence is
that the device cannot be removed until the machine is rebooted. Certain udev
configurations can lead to this happening.
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: <dm-devel@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-11-08 18:29:23 -08:00
..
acorn
acpi
[PATCH] acpi memory hotplug: remove strange add_memory fail message
2006-10-20 10:26:38 -07:00
amba
ata
[libata] sata_via: fix obvious typo
2006-11-08 07:46:02 -05:00
atm
[ATM] horizon: read_bia() needs to be __devinit
2006-10-24 16:16:39 -07:00
base
[PATCH] move SYS_HYPERVISOR inside the Generic Driver menu
2006-10-28 11:30:55 -07:00
block
[PATCH] cciss: fix printk format warning
2006-10-28 11:30:53 -07:00
bluetooth
[PATCH] lockdep: annotate DECLARE_WAIT_QUEUE_HEAD
2006-10-30 12:08:40 -08:00
cdrom
char
[PATCH] ipmi_si_intf.c sets bad class_mask with PCI_DEVICE_CLASS
2006-11-03 12:27:57 -08:00
clocksource
[PATCH] clocksource: acpi_pm: add another greylist chipset
2006-10-21 13:35:05 -07:00
connector
cpufreq
crypto
dio
dma
edac
[PATCH] edac_mc: fix error handling
2006-11-03 12:27:57 -08:00
eisa
fc4
[SCSI] fc4: Conversion to struct scsi_cmnd in fc4
2006-10-25 15:12:45 -07:00
firmware
[PATCH] i386: Disable nmi watchdog on all ThinkPads
2006-10-21 18:37:02 +02:00
hwmon
hwmon: Fix debug messages in w83781d
2006-10-18 13:03:09 -07:00
i2c
[ARM] Fix i2c-pxa slave mode support
2006-10-28 22:30:17 +01:00
ide
[PATCH] IDE: Add the support of nvidia PATA controllers of MCP67 to amd74xx.c
2006-11-03 12:27:59 -08:00
ieee1394
[ETH1394]: Fix unaligned accesses.
2006-10-30 15:24:38 -08:00
infiniband
RDMA/addr: Use client registration to fix module unload race
2006-11-02 14:26:04 -08:00
input
sh: Cleanup board header directories.
2006-10-19 16:30:32 +09:00
isdn
[PATCH] isdn/gigaset: convert warning message
2006-11-06 01:46:23 -08:00
leds
[PATCH] drivers/led: handle sysfs errors
2006-10-17 08:18:46 -07:00
macintosh
mca
md
[PATCH] dm: fix find_device race
2006-11-08 18:29:23 -08:00
media
V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel
2006-11-03 00:49:40 -03:00
message
[PATCH] lockdep: annotate DECLARE_WAIT_QUEUE_HEAD
2006-10-30 12:08:40 -08:00
mfd
misc
[PATCH] Fix for LKDTM MEM_SWAPOUT crashpoint
2006-11-06 01:46:23 -08:00
mmc
[PATCH] missing includes of io.h
2006-10-24 22:01:11 -07:00
mtd
[PATCH] silence 'make xmldocs' warning by adding missing description of 'raw' in nand_base.c:1485
2006-10-27 15:34:51 -07:00
net
[TG3]: Fix array overrun in tg3_read_partno().
2006-11-07 15:10:16 -08:00
nubus
oprofile
parisc
parport
pci
PCI: Let PCI_MULTITHREAD_PROBE depend on BROKEN
2006-11-03 11:49:04 -08:00
pcmcia
Merge master.kernel.org:/home/rmk/linux-2.6-arm
2006-10-29 17:25:48 -08:00
pnp
Fix DMA resource allocation in ACPIPnP
2006-10-18 11:36:11 -07:00
rapidio
rtc
[PATCH] rtc: fix printk of 64-bit res on 32-bit platform
2006-10-17 08:18:47 -07:00
s390
[S390] cio: Make ccw_device_register() static.
2006-10-27 12:39:33 +02:00
sbus
[SPARC]: Fix bus_id[] string overflow.
2006-10-27 01:03:31 -07:00
scsi
[PATCH] SCSI: ISCSI build failure
2006-10-31 08:13:19 -08:00
serial
[PATCH] ioc4_serial: irq flags fix
2006-10-30 12:08:40 -08:00
sh
sn
[PATCH] ioc4: Enable build on non-SN2
2006-10-17 08:18:42 -07:00
spi
[PATCH] spi section fix
2006-11-03 12:27:58 -08:00
tc
telephony
[ixj] Add pci dev table for module auto loading.
2006-10-18 08:45:30 -04:00
usb
USB: use MII hooks only if CONFIG_MII is enabled
2006-11-03 11:57:19 -08:00
video
[POWERPC] Fix various offb issues
2006-11-01 14:52:48 +11:00
w1
[PATCH] w1 kconfig fix
2006-10-17 08:18:44 -07:00
zorro
Kconfig
[PATCH] ioc4: Enable build on non-SN2
2006-10-17 08:18:42 -07:00
Makefile