fs: use low-level mapping helpers
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 3 Dec 2021 11:17:03 +0000 (12:17 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 3 Dec 2021 17:58:11 +0000 (18:58 +0100)
commit4472071331549e911a5abad41aea6e3be855a1a4
tree6da51e76328b10a835c33f6f916a671a12274e5d
parent8cc5c54de44c5e8e104d364a627ac4296845fc7f
fs: use low-level mapping helpers

In a few places the vfs needs to interact with bare k{g,u}ids directly
instead of struct inode. These are just a few. In previous patches we
introduced low-level mapping helpers that are able to support
filesystems mounted an idmapping. This patch simply converts the places
to use these new helpers.

Link: https://lore.kernel.org/r/20211123114227.3124056-7-brauner@kernel.org
Link: https://lore.kernel.org/r/20211130121032.3753852-7-brauner@kernel.org
Link: https://lore.kernel.org/r/20211203111707.3901969-7-brauner@kernel.org
Cc: Seth Forshee <sforshee@digitalocean.com>
Cc: Amir Goldstein <amir73il@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
CC: linux-fsdevel@vger.kernel.org
Reviewed-by: Seth Forshee <sforshee@digitalocean.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
fs/ksmbd/smbacl.c
fs/ksmbd/smbacl.h
fs/open.c
fs/posix_acl.c
security/commoncap.c