diff options
author | Seth Jennings <[email protected]> | 2011-09-20 13:09:56 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-09-20 14:17:13 -0700 |
commit | 80976804f501303a34a76e925119393722596dca (patch) | |
tree | 320b676c03663914061a6e399261882c4bccc61e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2838888f3f268344d42ac088c8abcff91c505ced (diff) |
staging: zcache: fix cleancache crash
After commit c5f5c4db3938 ("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 c5f5c4db3938.
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]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions