]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: remove foll_flags in __get_user_pages
authorJosef Bacik <josef@toxicpanda.com>
Thu, 18 Jul 2024 21:26:07 +0000 (17:26 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 17 Aug 2024 00:52:25 +0000 (17:52 -0700)
commit5e0b548633acd063a19ab0afd6194e549138c6f1
tree163691308d701bf0cdeae74232c4ca874c317a26
parentfd6e3cbe85c13536daf466e323bf9c72e0e83505
mm: remove foll_flags in __get_user_pages

Now that we're not passing around a pointer to the flags, there's no
reason to have an extra variable for the gup_flags, simply pass the
gup_flags directly everywhere.

Link: https://lkml.kernel.org/r/1e79b84bd30287cc9847f2aeb002374e6e60a10f.1721337845.git.josef@toxicpanda.com
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/gup.c