linux/fs/ntfs3
Christian Brauner 13e83a4923
fs: port ->set_acl() to pass mnt_idmap
Convert to struct mnt_idmap.

Last cycle we merged the necessary infrastructure in
256c8aed2b ("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>
2023-01-19 09:24:27 +01:00
..
lib
attrib.c fs/ntfs3: Restore correct state after ENOSPC in attr_data_get_block 2022-11-14 19:50:46 +03:00
attrlist.c
bitfunc.c fs/ntfs3: Add ntfs_bitmap_weight_le function and refactoring 2022-11-14 19:50:42 +03:00
bitmap.c fs/ntfs3: Improve checking of bad clusters 2022-11-14 19:50:48 +03:00
debug.h
dir.c fs/ntfs3: Fix sparse problems 2022-11-14 19:50:42 +03:00
file.c fs: port ->set_acl() to pass mnt_idmap 2023-01-19 09:24:27 +01:00
frecord.c fs/ntfs3: Change new sparse cluster processing 2022-11-14 19:50:44 +03:00
fslog.c ntfs3 for 6.2 2022-12-21 10:18:17 -08:00
fsntfs.c fs/ntfs3: Use ALIGN kernel macro 2022-11-14 19:50:47 +03:00
index.c fs/ntfs3: Check fields while reading 2022-11-14 19:50:47 +03:00
inode.c ntfs3 for 6.2 2022-12-21 10:18:17 -08:00
Kconfig
lznt.c
Makefile
namei.c fs: port ->rename() to pass mnt_idmap 2023-01-19 09:24:26 +01:00
ntfs.h fs/ntfs3: Fix wrong if in hdr_first_de 2022-11-14 19:50:48 +03:00
ntfs_fs.h fs: port ->set_acl() to pass mnt_idmap 2023-01-19 09:24:27 +01:00
record.c fs/ntfs3: Make if more readable 2022-11-14 19:50:49 +03:00
run.c fs/ntfs3: Improve checking of bad clusters 2022-11-14 19:50:48 +03:00
super.c fs/ntfs3: Improve checking of bad clusters 2022-11-14 19:50:48 +03:00
upcase.c
xattr.c fs: port ->set_acl() to pass mnt_idmap 2023-01-19 09:24:27 +01:00