android_kernel_xiaomi_sm8350/drivers
Alasdair G Kergon 485ef69ede [PATCH] device-mapper: Fix queue_if_no_path initialisation
When creating a multipath device, if the queue_if_no_path parameter is
specified it gets ignored.

While the queue_if_no_path variable is correctly set to 1, the
saved_queue_if_no_path gets set to 0.  When the device is subsequently made
live (resumed), the saved value (0) always overwrites the live value (1) so
the option *always* gets turned off.

The fix adds a parameter to the queue_if_no_path() function to indicate
whether the previous value should be preserved or not - if not, as when the
device is being set up, the saved value is set to the new value (1).

Signed-Off-By: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-28 07:46:42 -07:00
..
acorn
acpi
atm
base [PATCH] fix class symlinks in sysfs 2005-09-22 07:58:24 -07:00
block [PATCH] ub: Comment out unconditional stall clear 2005-09-22 07:58:26 -07:00
bluetooth
cdrom
char [PATCH] Add IPMI poweroff control to sysfs 2005-09-28 07:46:41 -07:00
connector [CONNECTOR]: async connector mode. 2005-09-26 15:06:50 -07:00
cpufreq
crypto
dio
eisa
fc4
firmware
hwmon [PATCH] hdaps: small update. 2005-09-22 22:17:34 -07:00
i2c [PATCH] ppc64: SMU driver update & i2c support 2005-09-22 22:17:35 -07:00
ide [PATCH] pcmcia: update ID for NinjaATA 2005-09-26 13:11:31 +02:00
ieee1394
infiniband [IB] Fix RMPP receive length calculation 2005-09-21 12:33:09 -07:00
input [PATCH] Input: check switch bitmap when matching handlers 2005-09-24 10:44:25 -07:00
isdn [PATCH] hisax: remove URB_ASYNC_UNLINK 2005-09-23 13:35:36 -07:00
macintosh [PATCH] ppc64: SMU driver update & i2c support 2005-09-22 22:17:35 -07:00
mca
md [PATCH] device-mapper: Fix queue_if_no_path initialisation 2005-09-28 07:46:42 -07:00
media [PATCH] dvb: fix NULL pointer dereference when loading the budget-av module 2005-09-28 07:46:40 -07:00
message
mfd [MFD] Fix "bious one-bit signed bitfield" errors 2005-09-24 10:24:37 +01:00
misc
mmc
mtd [PATCH] DEBUG redefined in drivers/mtd/devices/docecc.c 2005-09-22 22:17:34 -07:00
net [PATCH] orinoco: Fix flood of kernel log with stupid WE warnings 2005-09-28 07:46:41 -07:00
nubus
oprofile
parisc
parport
pci [PATCH] pci: fixup parent subordinate busnr 2005-09-23 08:05:16 -07:00
pcmcia [PATCH] yenta: more ENE bridges 2005-09-26 13:11:29 +02:00
pnp
s390 [PATCH] driver core: add helper device_is_registered() 2005-09-22 07:58:24 -07:00
sbus
scsi Merge branch 'upstream' from master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev 2005-09-23 16:44:52 -07:00
serial [PATCH] pcmcia: new IDs for serial_cs 2005-09-26 13:11:28 +02:00
sh
sn
tc
telephony
usb [PATCH] USB: Add Novatel CDMA Wireless PC card IDs to airprime 2005-09-22 07:58:26 -07:00
video [PATCH] atyfb c99 fix 2005-09-23 13:35:36 -07:00
w1
zorro
Kconfig
Makefile