OpenCloudOS-Kernel/drivers/staging
Seth Jennings 80976804f5 staging: zcache: fix cleancache crash
After commit c5f5c4db39 ("staging: zcache: fix crash on high memory
swap") cleancache crashes on the first successful get.  This was caused
by a remaining virt_to_page() call in zcache_pampd_get_data_and_free()
that only gets run in the cleancache path.

The patch converts the virt_to_page() to struct page casting like was
done for other instances in c5f5c4db39.

Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Tested-By: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-09-20 14:17:13 -07:00
..
altera-stapl Altera-stapl: Clean up makefile (-y instead of -objs) 2011-07-08 14:03:38 -07:00
asus_oled
ath6kl drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsparser.c: adjust array index 2011-08-02 16:10:18 -07:00
bcm Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-07-25 23:26:34 -07:00
brcm80211 staging: brcm80211: SPARC build error fix 2011-08-23 13:03:09 -07:00
comedi staging: fix comedi build when ISA_DMA_API is enabled but COMEDI_PCI is not enabled 2011-09-19 17:15:46 -07:00
cptm1217 drivers/staging/cptm1217/clearpad_tm1217.c: Correct call to input_free_device 2011-05-18 14:30:49 -07:00
crystalhd
cx25821
cxd2099 Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-07-30 00:08:53 -07:00
cxt1e1 Remove unneeded version.h include from drivers/staging/cxt1e1/sbecom_inline_linux.h 2011-07-05 10:39:39 -07:00
dt3155v4l drivers/staging/dt3155v4l/dt3155v4l.c needs slab.h 2011-08-02 16:09:47 -07:00
easycap staging/easycap: remove oss support 2011-07-08 14:02:26 -07:00
echo drivers: staging: echo: Fix coding style issues. 2011-07-05 20:37:37 -07:00
et131x staging: et131x: remove unused prototype et131x_vlan_rx_register 2011-07-21 13:47:57 -07:00
frontier
ft1000 staging: ft1000_proc needs asm/io.h for inw/outw on sparc 2011-08-02 16:07:51 -07:00
gma500 gma500: kill MIPI interface types 2011-08-16 07:22:16 -07:00
go7007
hv drivers/staging/hv/blkvsc_drv.c: eliminate NULL pointer dereference 2011-08-02 16:12:49 -07:00
iio Staging: iio: add some unlocks to raw_read() functions 2011-08-02 16:07:51 -07:00
intel_sst sst: avoid unnecessary firmware reloading for MRST 2011-07-08 14:02:25 -07:00
keucr Staging: Remove ENE UB6250 MS card codes from keucr 2011-07-08 14:12:52 -07:00
line6 drivers/staging/line6/driver.c: Drop unneeded put functions. 2011-05-17 13:31:32 -07:00
lirc Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-07-25 23:26:34 -07:00
mei staging: mei: reordering the exit module cleanup 2011-07-08 13:59:54 -07:00
nvec Staging: Add clk API note to nvec/TODO 2011-08-02 16:12:49 -07:00
octeon staging: octeon-ethernet: Add missing #includes. 2011-08-23 15:35:16 -07:00
olpc_dcon staging: fix olpc_dcon build, needs BACKLIGHT_CLASS_DEVICE 2011-06-07 12:28:39 -07:00
panel Remove unneeded version.h include from drivers/staging/panel/panel.c 2011-07-05 10:39:39 -07:00
phison
pohmelfs Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 2011-07-22 19:02:39 -07:00
quatech_usb2
quickstart
rtl8187se Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-07-25 23:26:34 -07:00
rtl8192e Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-07-25 23:26:34 -07:00
rtl8192u staging: rtl8192u: declare MODULE_FIRMWARE 2011-08-02 16:07:50 -07:00
rtl8712 Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-07-25 23:26:34 -07:00
rts_pstor staging:rts_pstor: fix thread synchronization flow 2011-08-08 12:05:34 -07:00
sbe-2t3e3
sep Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-07-25 23:26:34 -07:00
serqt_usb2
slicoss
sm7xx Staging: sm7xx: printk loglevels modified to match the scenario 2011-05-19 15:34:32 -07:00
solo6x10 drivers:staging:solo6x10:add the missed slab.h 2011-08-03 07:44:38 -07:00
speakup drivers/staging/speakup/devsynth.c: fix "buffer size is not provably correct" error 2011-08-02 16:09:46 -07:00
spectra spectra: enable device before poking it 2011-07-18 13:22:53 -07:00
ste_rmi4 staging: ste_rmi4: remove cross-dependent platform data 2011-07-05 20:29:16 -07:00
tidspbridge staging: tidspbridge: fix compilation on dsp clock functions 2011-08-24 14:35:26 -07:00
tm6000 Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-07-30 00:08:53 -07:00
usbip staging: usbip: userspace: usbip-utils 1.1.1 2011-07-08 14:01:18 -07:00
vme Staging: VME: Introduce IOCTL to generate VME interrupts. 2011-06-28 14:13:05 -07:00
vt6655
vt6656 drivers/staging/vt6656/main_usb.c: Delete unnecessary call to usb_kill_urb 2011-05-17 11:37:57 -07:00
winbond atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
wlags49_h2 Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-07-25 23:26:34 -07:00
wlags49_h25
wlan-ng Remove unneeded version.h include from drivers/staging/wlan-ng/prism2sta.c 2011-07-05 10:39:38 -07:00
xgifb Remove unneeded version.h includes from drivers/staging/xgifb/ 2011-07-05 10:39:37 -07:00
zcache staging: zcache: fix cleancache crash 2011-09-20 14:17:13 -07:00
zram Staging: zram: Fix kunmapping order 2011-07-18 13:22:52 -07:00
Kconfig Staging: delete westbridge code 2011-07-12 04:53:56 +02:00
Makefile Staging: delete westbridge code 2011-07-12 04:53:56 +02:00
staging.c