hugetlbfs: support idmapped mounts
authorGiuseppe Scrivano <gscrivan@redhat.com>
Thu, 29 Feb 2024 15:24:05 +0000 (16:24 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 4 Mar 2024 12:54:54 +0000 (13:54 +0100)
commit91e78a1eb6b1c0d1a8b434d46b869941e3b3e9e2
tree03c5fac72a1979d1e7e36128943172d9bf31cde0
parent6b91bfa1651d841f0066bae2b1322cac29fdfb61
hugetlbfs: support idmapped mounts

pass down the idmapped mount information to the different helper
functions.

Differently, hugetlb_file_setup() will continue to not have any
mapping since it is only used from contexts where idmapped mounts are
not used.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Link: https://lore.kernel.org/r/20240229152405.105031-1-gscrivan@redhat.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/hugetlbfs/inode.c