commit | 7705950daffb2f8d798439636dccc85a52fe7b0d | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Jun 11 11:38:31 2020 +0900 |
committer | Namjae Jeon <linkinjeon@kernel.org> | Sat Jun 13 10:33:13 2020 +0900 |
tree | 0827e5cdb203e5a3646caf8e485026e5c597ae7c | |
parent | 3eff71ede6fbd65bbc0a26b75c46616a5bda31ee [diff] |
exfat: add missing brelse() calls on error paths If the second exfat_get_dentry() call fails then we need to release old_bh before returning. There is a similar bug in exfat_move_file(). Fixes: 5f2aa075070c ("exfat: add inode operations") Reported-by: Markus Elfring <Markus.Elfring@web.de> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
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