File systemtap-change-page_cache_release-to-put_page.patch of Package systemtap.12680
From: David Smith <dsmith@redhat.com>
Subject: Change page_cache_release() to put_page().
Date: Mon Apr 11 14:07:25 2016 -0500
Git-commit: 8acda2cea4688b8fca910ea8780fc29594ba6085
References: bsc#1125906
Signed-off-by: Tony Jones <tonyj@suse.de>
Fixed PR19940 by updating runtime/linux/access_process_vm.h.
* runtime/linux/access_process_vm.h: Changed page_cache_release() to
put_page().
diff --git a/runtime/linux/access_process_vm.h b/runtime/linux/access_process_vm.h
index fa11baf02..a2114c60d 100644
--- a/runtime/linux/access_process_vm.h
+++ b/runtime/linux/access_process_vm.h
@@ -52,7 +52,7 @@ __access_process_vm_ (struct task_struct *tsk, unsigned long addr, void *buf,
reader (vma, page, addr, buf, maddr + offset, bytes);
}
kunmap (page);
- page_cache_release (page);
+ put_page (page);
len -= bytes;
buf += bytes;
addr += bytes;