summaryrefslogtreecommitdiffstats
path: root/mm/util.c
diff options
context:
space:
mode:
authorLorenzo Stoakes2016-10-13 02:20:12 +0200
committerLinus Torvalds2016-10-18 23:13:37 +0200
commitd4944b0ecec0af882483fe44b66729316e575208 (patch)
tree0c16d81fa34c04dc63e4457e363edcfc21bfdfac /mm/util.c
parentmm: remove write/force parameters from __get_user_pages_locked() (diff)
downloadkernel-qcow2-linux-d4944b0ecec0af882483fe44b66729316e575208.tar.gz
kernel-qcow2-linux-d4944b0ecec0af882483fe44b66729316e575208.tar.xz
kernel-qcow2-linux-d4944b0ecec0af882483fe44b66729316e575208.zip
mm: remove write/force parameters from __get_user_pages_unlocked()
This removes the redundant 'write' and 'force' parameters from __get_user_pages_unlocked() to make the use of FOLL_FORCE explicit in callers as use of this flag can result in surprising behaviour (and hence bugs) within the mm subsystem. Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Jan Kara <jack@suse.cz> Acked-by: Michal Hocko <mhocko@suse.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions