]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mm: replace get_vaddr_frames() write/force parameters with gup_flags
authorLorenzo Stoakes <lstoakes@gmail.com>
Thu, 13 Oct 2016 00:20:15 +0000 (01:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 20:55:16 +0000 (21:55 +0100)
commit3ec22a6bce3f06aa3b8a399ea456fb1cb3792584
tree5f38c8f51f95778bd0c8fd928c881e57cb449cfb
parentffe6376c1803b5e964f609e8bc01507642397641
mm: replace get_vaddr_frames() write/force parameters with gup_flags

commit 7f23b3504a0df63b724180262c5f3f117f21bcae upstream.

This removes the 'write' and 'force' from get_vaddr_frames() 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: Michal Hocko <mhocko@suse.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/exynos/exynos_drm_g2d.c
drivers/media/platform/omap/omap_vout.c
drivers/media/v4l2-core/videobuf2-memops.c
include/linux/mm.h
mm/frame_vector.c