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>
Mon, 2 Sep 2024 03:25:46 +0000 (20:25 -0700)
commitdc21e70079ffcc4b8f14603cdd120713f0400dd3
tree0b91c693a51d6b2e2d8ddd9480eb6295f1c4b4b2
parent478729533edaa6700ba681b7a71e43715ffe6ccb
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