update 2026-07-11 01:43:21

This commit is contained in:
action
2026-07-11 01:43:21 +08:00
parent 8a04c3469b
commit 8f0ff54dab
1956 changed files with 1523141 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=ntfs3-oot
PKG_RELEASE:=3
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/LGA1150/ntfs3-oot.git
PKG_SOURCE_DATE:=2021-07-05
PKG_SOURCE_VERSION:=46d199e7d7302879b23ad20097ba53b152257288
PKG_MIRROR_HASH:=f07253ec864887c121177fc5b358c21249af0483e4dab0d5157410db618c0990
PKG_MAINTAINER:=
PKG_LICENSE:=GPL-2.0-only
include $(INCLUDE_DIR)/package.mk
define KernelPackage/fs-ntfs3-oot
SECTION:=kernel
CATEGORY:=Kernel modules
SUBMENU:=Filesystems
TITLE:=Fully functional NTFS Read-Write driver
FILES:=$(PKG_BUILD_DIR)/ntfs3.ko
AUTOLOAD:=$(call AutoProbe,ntfs3)
DEPENDS:=@LINUX_5_4 +kmod-nls-utf8
endef
define KernelPackage/fs-ntfs3-oot/description
This package provides the kernel module for ntfs3.
endef
define Build/Compile
$(KERNEL_MAKE) M="$(PKG_BUILD_DIR)" \
EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
$(PKG_EXTRA_KCONFIG) \
CONFIG_NTFS3_FS=m \
modules
endef
$(eval $(call KernelPackage,fs-ntfs3-oot))
@@ -0,0 +1,41 @@
--- a/super.c
+++ b/super.c
@@ -219,7 +219,7 @@ enum Opt {
Opt_showmeta,
Opt_acl,
Opt_noatime,
- Opt_nls,
+ Opt_iocharset,
Opt_prealloc,
Opt_no_acs_rules,
Opt_err,
@@ -239,7 +239,7 @@ static const match_table_t ntfs_tokens = {
{ Opt_acl, "acl" },
{ Opt_noatime, "noatime" },
{ Opt_showmeta, "showmeta" },
- { Opt_nls, "nls=%s" },
+ { Opt_iocharset, "iocharset=%s" },
{ Opt_prealloc, "prealloc" },
{ Opt_no_acs_rules, "no_acs_rules" },
{ Opt_err, NULL },
@@ -342,7 +342,7 @@ static noinline int ntfs_parse_options(struct super_block *sb, char *options,
case Opt_showmeta:
opts->showmeta = 1;
break;
- case Opt_nls:
+ case Opt_iocharset:
match_strlcpy(nls_name, &args[0], sizeof(nls_name));
break;
case Opt_prealloc:
@@ -581,9 +581,9 @@ static int ntfs_show_options(struct seq_file *m, struct dentry *root)
if (opts->dmask)
seq_printf(m, ",dmask=%04o", ~opts->fs_dmask_inv);
if (opts->nls)
- seq_printf(m, ",nls=%s", opts->nls->charset);
+ seq_printf(m, ",iocharset=%s", opts->nls->charset);
else
- seq_puts(m, ",nls=utf8");
+ seq_puts(m, ",iocharset=utf8");
if (opts->sys_immutable)
seq_puts(m, ",sys_immutable");
if (opts->discard)