Centos-kernel-stream-9/fs/fat
Ian Kent 252894f3c0 fs: port vfs{g,u}id helpers to mnt_idmap
JIRA: https://issues.redhat.com/browse/RHEL-33888
Status: Linus

Conflicts: Dropped hunks for ksmbd because the source is not present in the
	CentOS Stream source tree.

commit 4d7ca4090184c153f8ccb1a68ca5cf136dac108b
Author: Christian Brauner <brauner@kernel.org>
Date:   Fri Jan 13 12:49:32 2023 +0100

    fs: port vfs{g,u}id helpers to mnt_idmap

    Convert to struct mnt_idmap.

    Last cycle we merged the necessary infrastructure in
    256c8aed2b42 ("fs: introduce dedicated idmap type for mounts").
    This is just the conversion to struct mnt_idmap.

    Currently we still pass around the plain namespace that was attached to a
    mount. This is in general pretty convenient but it makes it easy to
    conflate namespaces that are relevant on the filesystem with namespaces
    that are relevent on the mount level. Especially for non-vfs developers
    without detailed knowledge in this area this can be a potential source for
    bugs.

    Once the conversion to struct mnt_idmap is done all helpers down to the
    really low-level helpers will take a struct mnt_idmap argument instead of
    two namespace arguments. This way it becomes impossible to conflate the two
    eliminating the possibility of any bugs. All of the vfs and all filesystems
    only operate on struct mnt_idmap.

    Acked-by: Dave Chinner <dchinner@redhat.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>

Signed-off-by: Ian Kent <ikent@redhat.com>
2024-10-16 12:36:04 +08:00
..
.kunitconfig
Kconfig fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
Makefile
cache.c
dir.c
fat.h fs: port ->getattr() to pass mnt_idmap 2024-10-16 09:37:45 +08:00
fat_test.c
fatent.c
file.c fs: port vfs{g,u}id helpers to mnt_idmap 2024-10-16 12:36:04 +08:00
inode.c
misc.c
namei_msdos.c fs: port ->rename() to pass mnt_idmap 2024-10-16 10:45:07 +08:00
namei_vfat.c fs: port ->rename() to pass mnt_idmap 2024-10-16 10:45:07 +08:00
nfs.c fat: fix uninitialized field in nostale filehandles 2024-05-03 10:54:44 +02:00