android_kernel_samsung_msm8976/drivers
NeilBrown 5e7dd2ab6b [PATCH] md: Fix 'rdev->nr_pending' count when retrying barrier requests
When retrying a failed BIO_RW_BARRIER request, we need to keep the reference
in ->nr_pending over the whole retry.  Currently, we only hold the reference
if the failed request is the *last* one to finish - which is silly, because it
would normally be the first to finish.

So move the rdev_dec_pending call up into the didn't-fail branch.  As the rdev
isn't used in the later code, calling rdev_dec_pending earlier doesn't hurt.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-05-01 18:17:42 -07:00
..
acorn
acpi
amba
atm
base [PATCH] Remove __devinit and __cpuinit from notifier_call definitions 2006-04-26 08:30:03 -07:00
block [PATCH] powerpc: Use check_legacy_ioport() on ppc32 too. 2006-04-28 21:04:55 +10:00
bluetooth
cdrom
char Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2006-04-29 01:11:23 -04:00
connector
cpufreq [PATCH] Remove __devinit and __cpuinit from notifier_call definitions 2006-04-26 08:30:03 -07:00
crypto
dio
edac
eisa
fc4
firmware [PATCH] DMI: move dmi_scan.c from arch/i386 to drivers/firmware/ 2006-04-14 11:41:25 -07:00
hwmon [PATCH] w83792d: Be quiet on misdetection 2006-04-14 11:18:33 -07:00
i2c [PATCH] i2c-i801: Fix resume when PEC is used 2006-04-20 07:54:04 -07:00
ide [PATCH] alim15x3: ULI M-1573 south Bridge support 2006-04-19 09:13:53 -07:00
ieee1394
infiniband IB/mthca: make a function static 2006-04-19 11:40:12 -07:00
input Merge git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2006-05-01 07:48:38 -07:00
isdn [PATCH] isdn4linux: Siemens Gigaset base driver: fix disconnect handling 2006-04-22 09:19:52 -07:00
leds
macintosh [PATCH] powerpc: fix oops in alsa powermac driver 2006-04-21 22:34:26 +10:00
mca
md [PATCH] md: Fix 'rdev->nr_pending' count when retrying barrier requests 2006-05-01 18:17:42 -07:00
media [ALSA] add __devinitdata to all pci_device_id 2006-04-27 21:10:34 +02:00
message
mfd
misc
mmc [MMC] pxamci: fix data timeout calculation 2006-04-24 11:27:02 +01:00
mtd
net [TG3]: Update version and reldate 2006-04-29 19:01:06 -07:00
nubus
oprofile
parisc [PARISC] Document that we tolerate "Relaxed Ordering" 2006-04-21 22:20:33 +00:00
parport [PATCH] parport_pc: fix section mismatch warnings (v2) 2006-04-19 09:13:52 -07:00
pci [PATCH] PCI quirk: VIA IRQ fixup should only run for VIA southbridges 2006-04-27 13:00:51 -07:00
pcmcia [PATCH] request_irq(): remove warnings from irq probing 2006-04-28 08:33:46 -07:00
pnp [PATCH] pnp: fix two messages in manager.c 2006-04-19 09:13:52 -07:00
rapidio
rtc
s390 [PATCH] s390: make qeth buildable 2006-05-01 18:17:42 -07:00
sbus
scsi [SCSI] advansys driver: limp along on x86 2006-04-29 14:27:13 -07:00
serial [PATCH] ppc32 CPM_UART: Fixed odd address translations 2006-04-28 21:11:33 +10:00
sh
sn
spi
tc
telephony
usb [PATCH] USB: ftdi_sio: add support for ASK RDR 400 series card reader 2006-04-27 10:28:59 -07:00
video [PATCH] au1200fb: Remove accidentally duplicated content of au1200fb.c 2006-04-29 17:05:11 -07:00
w1
zorro
Kconfig [IA64] IOC4 config option ordering 2006-04-21 10:59:00 -07:00
Makefile