linux-stable/drivers
Jes Sorensen 4f1f847dc0 md: Avoid OOPS when reshaping raid1 to raid0
commit 24b961f811 upstream.

raid1 arrays do not have the notion of chunk size. Calculate the
largest chunk sector size we can use to avoid a divide by zero OOPS
when aligning the size of the new array to the chunk size.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-01 15:15:55 +08:00
..
accessibility module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
acpi ACPICA: Fix regression in FADT revision checks 2012-04-13 09:13:52 -07:00
amba Merge branch 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm 2012-01-08 13:10:57 -08:00
ata ahci: Detect Marvell 88SE9172 SATA controller 2012-06-01 15:15:44 +08:00
atm drivers/atm/solos-pci.c: exchange pci_iounmaps 2012-02-19 18:57:51 -05:00
auxdisplay
base regmap: prevent division by zero in rbtree_show 2012-04-13 09:13:55 -07:00
bcma bcma: don't fail for bad SPROM CRC 2012-02-06 14:37:52 -05:00
block block: mtip32xx: remove HOTPLUG_PCI_PCIE dependancy 2012-05-12 09:32:21 -07:00
bluetooth Bluetooth: Add support for Atheros [04ca:3005] 2012-04-27 10:16:52 -07:00
cdrom cdrom: move shared static to cdrom_device_info 2012-02-08 20:03:14 +01:00
char virtio: console: tell host of open ports after resume from s3/s4 2012-05-21 10:46:21 -07:00
clk clk: add config option HAVE_CLK_PREPARE into Kconfig 2011-12-28 21:35:06 +08:00
clocksource PM / shmobile: Make MTU2 driver use pm_genpd_dev_always_on() 2012-04-02 10:32:10 -07:00
connector
cpufreq Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq 2012-01-11 18:53:33 -08:00
cpuidle cpuidle: Default y on powerpc pSeries 2012-02-22 16:48:51 +11:00
crypto crypto: mv_cesa requires on CRYPTO_HASH to build 2012-05-21 10:46:20 -07:00
dca
devfreq Merge branch 'devfreq-for-next' of git://git.infradead.org/users/kmpark/linux-samsung into pm-devfreq 2011-12-21 09:51:23 +01:00
dio
dma dmaengine: at_hdmac: remove clear-on-read in atc_dostart() 2012-05-07 08:53:20 -07:00
edac asm-generic: architecture independent readq/writeq for 32bit environment 2012-02-21 16:47:28 -08:00
eisa
firewire firewire: ohci: fix too-early completion of IR multichannel buffers 2012-04-02 10:32:07 -07:00
firmware efivars: Improve variable validation 2012-05-07 08:53:36 -07:00
gpio gpio: mpc8xxx: Prevent NULL pointer deref in demux handler 2012-06-01 15:15:51 +08:00
gpu nouveau: nouveau_set_bo_placement takes TTM flags 2012-06-01 15:15:51 +08:00
hid HID: logitech: read all 32 bits of report type bitfield 2012-06-01 15:15:44 +08:00
hv Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb 2012-01-09 12:09:47 -08:00
hwmon hwmon: (coretemp) fix oops on cpu unplug 2012-05-07 08:53:36 -07:00
hwspinlock
i2c i2c: tegra: notify transfer-complete after clearing status. 2012-06-01 15:15:55 +08:00
ide ARM: at91: drop ide driver in favor of the pata one 2012-02-13 18:31:37 +01:00
idle ACPI processor hotplug: Delay acpi_processor_start() call for hotplugged cores 2012-01-19 21:26:32 -05:00
ieee802154
infiniband IB/core: Fix mismatch between locked and pinned pages 2012-06-01 15:15:43 +08:00
input Input: synaptics - fix regression with "image sensor" trackpads 2012-05-07 08:53:24 -07:00
iommu iommu: Fix off by one in dmar_get_fault_reason() 2012-06-01 15:15:54 +08:00
isdn isdn/gigaset: ratelimit CAPI message dumps 2012-06-01 15:15:40 +08:00
leds drivers/leds/leds-lm3530.c: fix setting pltfm->als_vmax 2012-02-08 19:03:51 -08:00
lguest lguest: Make sure interrupt is allocated ok by lguest_setup_irq 2012-01-12 15:44:47 +10:30
macintosh powerpc/adb: Use set_current_state() 2012-02-16 16:15:12 +11:00
mca
md md: Avoid OOPS when reshaping raid1 to raid0 2012-06-01 15:15:55 +08:00
media media: uvcvideo: Fix ENUMINPUT handling 2012-06-01 15:15:52 +08:00
memstick module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
message SCSI updates for post 3.2 merge window 2012-01-10 10:36:08 -08:00
mfd mfd: Clear twl6030 IRQ status register only once 2012-04-13 09:13:56 -07:00
misc x86,kgdb: Fix DEBUG_RODATA limitation using text_poke() 2012-04-13 09:13:54 -07:00
mmc mmc: omap_hsmmc: pass IRQF_ONESHOT to request_threaded_irq 2012-06-01 15:15:53 +08:00
mtd mtd: sm_ftl: fix typo in major number. 2012-06-01 15:15:43 +08:00
net rtlwifi: rtl8192de: Fix firmware initialization 2012-06-01 15:15:55 +08:00
nfc Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core 2012-01-07 12:03:30 -08:00
nubus
of of/mdio: fix fixed link bus name 2012-02-27 10:09:52 -06:00
oprofile Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-01-06 08:02:58 -08:00
parisc [PARISC] include <linux/prefetch.h> in drivers/parisc/iommu-helpers.h 2012-02-27 09:44:15 -06:00
parport Autogenerated GPG tag for Rusty D1ADB8F1: 15EE 8D6C AB0E 7F0C F999 BFCB D920 0E6C D1AD B8F1 2012-01-14 12:32:16 -08:00
pci PCI: Add quirk for still enabled interrupts on Intel Sandy Bridge GPUs 2012-04-27 10:16:51 -07:00
pcmcia ARM: pxa: fix error handling in pxa2xx_drv_pcmcia_probe 2012-02-16 10:41:23 +08:00
pinctrl pinctrl: restore pin naming 2012-02-01 19:35:21 +01:00
platform sony-laptop: Enable keyboard backlight by default 2012-05-12 09:32:21 -07:00
pnp PNPACPI: Fix device ref leaking in acpi_pnp_match 2012-04-13 09:13:52 -07:00
power lp8727_charger: Add terminating entry for i2c_device_id table 2012-02-01 21:34:26 +04:00
pps pps: class_create() returns an ERR_PTR, not NULL 2012-03-05 15:49:43 -08:00
ps3
ptp
rapidio rapidio/tsi721: fix bug in register offset definitions 2012-03-15 17:03:03 -07:00
regulator regulator: core: Release regulator-regulator supplies on error 2012-06-01 15:15:41 +08:00
rtc drivers/rtc/rtc-pl031.c: configure correct wday for 2000-01-01 2012-06-01 15:15:47 +08:00
s390 [S390] qdio: fix handler function arguments for zfcp data router 2012-03-02 17:33:00 +01:00
sbus
scsi SCSI: hpsa: Fix problem with MSA2xxx devices 2012-06-01 15:15:47 +08:00
sfi
sh sh: clkfwk: bugfix: use clk_reparent() for div6 clocks 2012-01-24 10:44:49 +09:00
sn
spi spi/spi-fsl-spi: reference correct pdata in fsl_spi_cs_control 2012-06-01 15:15:51 +08:00
ssb ssb: fix cardbus slot in hostmode 2012-02-01 15:26:00 -05:00
staging drivers/staging/comedi/comedi_fops.c: add missing vfree 2012-06-01 15:15:43 +08:00
target target: Fix bug in handling of FILEIO + block_device resize ops 2012-05-21 10:46:21 -07:00
tc
telephony
thermal thermal: Rename generate_netlink_event 2012-01-23 03:15:25 -05:00
tty tty: Allow uart_register/unregister/register 2012-06-01 15:15:46 +08:00
uio Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci 2012-01-11 18:50:26 -08:00
usb usbcore: enable USB2 LPM if port suspend fails 2012-06-01 15:15:50 +08:00
uwb uwb: fix error handling 2012-04-27 10:16:36 -07:00
vhost vhost-net: add module alias (v2.1) 2012-01-13 10:12:23 -08:00
video udlfb: fix hcd_buffer_free panic on unplug/replug 2012-06-01 15:15:47 +08:00
virt
virtio virtio: balloon: leak / fill balloon across S4 2012-03-01 09:28:41 +10:30
vlynq
w1
watchdog watchdog: fix GETTIMEOUT ioctl in booke_wdt 2012-02-29 09:46:13 +01:00
xen xen: do not map the same GSI twice in PVHVM guests. 2012-06-01 15:15:51 +08:00
zorro misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
Kconfig
Makefile mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00