commit | 1610136b5648f95c3d94319206e91fb95117748b | [log] [tgz] |
---|---|---|
author | Christian Brauner (Microsoft) <brauner@kernel.org> | Tue Jul 11 22:10:21 2023 +0900 |
committer | Namjae Jeon <linkinjeon@kernel.org> | Tue Jul 11 22:20:54 2023 +0900 |
tree | 365fe251e6c6fc2aafae4af67f7639d8f477f8d4 | |
parent | eb2bd5c43a370cf581f151a7e838930b53723f79 [diff] |
exfat: fs: port ->create() to pass 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: Namjae Jeon <linkinjeon@kernel.org>
This is the exfat filesystem for support from the linux 4.1 kernel to the latest kernel.
Install prerequisite package for Fedora, RHEL:
yum install kernel-devel-$(uname -r)
Build step:
make sudo make install
To load the driver manually, run this as root:
modprobe exfat
cd [linux] cp -ar exfat [linux]/fs/
source "fs/fat/Kconfig" +source "fs/exfat/Kconfig" source "fs/ntfs/Kconfig"
obj-$(CONFIG_FAT_FS) += fat/ +obj-$(CONFIG_EXFAT_FS) += exfat/ obj-$(CONFIG_BFS_FS) += bfs/
File systems ---> DOS/FAT/NT Filesystems ---> <M> exFAT filesystem support (utf8) Default iocharset for exFAT
build your kernel