mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
After commitc5f5c4db39("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 inc5f5c4db39. Signed-off-by: Seth Jennings <[email protected]> Tested-By: Valdis Kletnieks <[email protected]> Acked-by: Dan Magenheimer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>