[PATCH 0/2] userfaultfd: merge fs/userfaultfd.c into mm/userfaultfd.c

Mike Rapoport
2026-04-30T11:35:20Z

From: "Mike Rapoport (Microsoft)" <rppt@kernel.org>

Hi,

These patches merge fs/userfaultfd.c into mm/userfaultfd.c and make
functions used only inside mm/userfaultfd.c static.

Mike Rapoport (Microsoft) (2):
userfaultfd: merge fs/userfaultfd.c into mm/userfaultfd.c
userfaultfd: make functions that are not used outside uffd static

MAINTAINERS | 1 -
fs/Makefile | 1 -
fs/userfaultfd.c | 2231 --------------------------------
include/linux/userfaultfd_k.h | 36 -
mm/userfaultfd.c | 2238 ++++++++++++++++++++++++++++++++-
5 files changed, 2226 insertions(+), 2281 deletions(-)
delete mode 100644 fs/userfaultfd.c

base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
--
2.53.0