diff options
author | Lorenzo Stoakes <lstoakes@gmail.com> | 2016-10-13 01:20:11 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-18 14:13:36 -0700 |
commit | 859110d7497cdd0e6b21010d6f777049d676382c (patch) | |
tree | d2da6062b292dd6478a607bb8d564047d087144c /mm/bootmem.c | |
parent | 19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619 (diff) | |
download | linux-stable-859110d7497cdd0e6b21010d6f777049d676382c.tar.gz linux-stable-859110d7497cdd0e6b21010d6f777049d676382c.tar.bz2 linux-stable-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/bootmem.c')
0 files changed, 0 insertions, 0 deletions