Lorenzo Stoakes 768ae309a9 mm: replace get_user_pages() write/force parameters with gup_flags
This removes the 'write' and 'force' from get_user_pages() and replaces
them with 'gup_flags' 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: Christian König <christian.koenig@amd.com>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-10-19 08:11:43 -07:00
..
2015-06-03 21:03:15 -04:00
2016-09-28 12:08:49 +10:00
2016-09-28 12:08:49 +10:00
2015-06-03 21:03:15 -04:00
2016-09-28 12:08:49 +10:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2016-07-02 15:56:01 +10:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:17 -04:00
2016-09-28 12:08:49 +10:00
2016-08-25 14:02:55 -04:00
2016-09-22 10:24:16 -04:00
2016-09-28 12:08:49 +10:00
2016-10-04 11:15:59 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:17 -04:00
2016-10-04 11:15:59 -04:00
2016-08-31 15:21:09 -04:00
2016-09-28 12:08:49 +10:00
2016-08-31 15:21:09 -04:00
2016-09-12 18:12:22 -04:00
2016-08-31 12:11:19 -04:00