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> |
||
---|---|---|
.. | ||
.kunitconfig | ||
Kconfig | ||
Makefile | ||
cache.c | ||
dir.c | ||
fat.h | ||
fat_test.c | ||
fatent.c | ||
file.c | ||
inode.c | ||
misc.c | ||
namei_msdos.c | ||
namei_vfat.c | ||
nfs.c |