summaryrefslogtreecommitdiffstats
path: root/mm/process_vm_access.c
diff options
context:
space:
mode:
authorLorenzo Stoakes2016-10-13 02:20:11 +0200
committerLinus Torvalds2016-10-18 23:13:36 +0200
commit859110d7497cdd0e6b21010d6f777049d676382c (patch)
treed2da6062b292dd6478a607bb8d564047d087144c /mm/process_vm_access.c
parentmm: remove gup_flags FOLL_WRITE games from __get_user_pages() (diff)
downloadkernel-qcow2-linux-859110d7497cdd0e6b21010d6f777049d676382c.tar.gz
kernel-qcow2-linux-859110d7497cdd0e6b21010d6f777049d676382c.tar.xz
kernel-qcow2-linux-859110d7497cdd0e6b21010d6f777049d676382c.zip
mm: remove write/force parameters from __get_user_pages_locked()
This removes the redundant 'write' and 'force' parameters from __get_user_pages_locked() 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> 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/process_vm_access.c')
0 files changed, 0 insertions, 0 deletions