linux/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
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
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
dt3155v4l drivers/staging/dt3155v4l/dt3155v4l.c needs slab.h 2011-08-02 16:09:47 -07:00
easycap
echo
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
keucr Staging: Remove ENE UB6250 MS card codes from keucr 2011-07-08 14:12:52 -07:00
line6
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
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
panel
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
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
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
vme
vt6655
vt6656
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
xgifb
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