commit | 3eef540417547ae7eea6d8bcae97b797e8fb2cbb | [log] [tgz] |
---|---|---|
author | Namjae Jeon <linkinjeon@kernel.org> | Sun Jan 08 18:14:43 2023 +0900 |
committer | Namjae Jeon <linkinjeon@kernel.org> | Sun Jan 08 18:15:09 2023 +0900 |
tree | adbb2fa3c336904de11d2ce3faeeb95a21f1d4cb | |
parent | 17d8731ce12502b50b468d443ed5fa2094a80132 [diff] |
exfat: fix inode->i_blocks for non-512 byte sector size device inode->i_blocks is not real number of blocks, but 512 byte ones. Fixes: 98d917047e8b ("exfat: add file operations") Cc: stable@vger.kernel.org # v5.7+ Reported-by: Wang Yugui <wangyugui@e16-tech.com> Tested-by: Wang Yugui <wangyugui@e16-tech.com> Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com> Reviewed-by: Andy Wu <Andy.Wu@sony.com> 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