fs: sdfat: Minor corrections
This commit is contained in:
parent
ff21be6701
commit
da6c1fd4f8
8
Makefile
8
Makefile
|
|
@ -1,12 +1,14 @@
|
|||
#
|
||||
# Makefile for the linux FAT12/16/32(VFAT)/64(exFAT) filesystem driver.
|
||||
# Makefile for the Linux kernel FAT12/16/32(VFAT)/exFAT filesystem driver.
|
||||
#
|
||||
|
||||
KERNELDIR=/lib/modules/$(shell uname -r)/build
|
||||
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
|
||||
|
||||
PWD := $(shell pwd)
|
||||
|
||||
obj-$(CONFIG_SDFAT_FS) += sdfat_fs.o
|
||||
|
||||
sdfat_fs-objs := sdfat.o core.o core_fat.o core_exfat.o api.o blkdev.o \
|
||||
sdfat_fs-objs := sdfat.o core.o core_fat.o core_exfat.o api.o blkdev.o \
|
||||
fatent.o amap_smart.o cache.o dfr.o nls.o misc.o \
|
||||
mpage.o extent.o
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
sdFAT FS support for Linux Kernel 4.4 & 5.0
|
||||
sdFAT FS support for Linux kernel 4.4 & 5.0
|
||||
=====================================
|
||||
|
||||
sdFAT is unified FAT-based filesystem which supports FAT12/16/32(VFAT)/64(exFAT). sdFAT supports winnt short-name rule.
|
||||
sdFAT is unified FAT-based filesystem driver which supports FAT12/16/32(VFAT)/exFAT.
|
||||
sdFAT supports winnt short-name rule.
|
||||
|
||||
Suggested Kernel config:
|
||||
Suggested kernel config:
|
||||
|
||||
CONFIG_SDFAT_FS=y
|
||||
CONFIG_SDFAT_DELAYED_META_DIRTY=y
|
||||
|
|
|
|||
10
dkms.conf
10
dkms.conf
|
|
@ -2,12 +2,12 @@ PACKAGE_VERSION="2.1.10.2"
|
|||
|
||||
# Items below here should not have to change with each driver version
|
||||
PACKAGE_NAME="sdfat"
|
||||
MAKE[0]="make CONFIG_SDFAT_FS=m CONFIG_SDFAT_USE_FOR_EXFAT=y CONFIG_SDFAT_USE_FOR_VFAT=y -C ${kernel_source_dir} SUBDIRS=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build modules"
|
||||
CLEAN="make -C ${kernel_source_dir} SUBDIRS=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build clean"
|
||||
MAKE[0]="make CONFIG_SDFAT_FS=m CONFIG_SDFAT_USE_FOR_EXFAT=y CONFIG_SDFAT_USE_FOR_VFAT=y -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build modules"
|
||||
CLEAN="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build clean"
|
||||
|
||||
BUILT_MODULE_NAME="sdfat_fs"
|
||||
DEST_MODULE_LOCATION="/kernel/fs/sdfat"
|
||||
MODULES_CONF_OBSOLETES[0]="msdos,vfat,fat,exfat"
|
||||
BUILT_MODULE_NAME[0]="sdfat_fs"
|
||||
DEST_MODULE_LOCATION[0]="/kernel/fs/sdfat"
|
||||
MODULES_CONF_OBSOLETES[0]="msdos,fat,vfat,exfat"
|
||||
|
||||
AUTOINSTALL="yes"
|
||||
REMAKE_INITRD="yes"
|
||||
|
|
|
|||
7
sdfat.c
7
sdfat.c
|
|
@ -5261,11 +5261,10 @@ static void __exit exit_sdfat_fs(void)
|
|||
fsapi_shutdown();
|
||||
}
|
||||
|
||||
module_init(init_sdfat_fs);
|
||||
module_exit(exit_sdfat_fs);
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("FAT/exFAT filesystem support");
|
||||
MODULE_AUTHOR("Samsung Electronics Co., Ltd.");
|
||||
MODULE_DESCRIPTION("FAT/vFAT/exFAT filesystem support");
|
||||
MODULE_VERSION(SDFAT_VERSION);
|
||||
|
||||
module_init(init_sdfat_fs);
|
||||
module_exit(exit_sdfat_fs);
|
||||
|
|
|
|||
Loading…
Reference in New Issue