mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-15 22:59:07 +04:00
Update from 9e031cf453d8 to fdfea0c9a7b4 with fixes for data integrity, Windows interoperability and malformed filesystem handling. Enable the new WOF-compression feature. Notable changes: - Support reading WOF-compressed Windows files using the LZX and XPRESS codecs. - Fix enabling LZNT1 compression on empty files and improve compressed write correctness and performance, including all-zero overwrites. - Support reading and creating native Windows symlinks, with symlink=native and native_symlink=rel mount options for creation and path translation. - Fix fstrim range alignment to avoid discarding allocated clusters, and fix write offsets on NTFS volumes with 4 KiB sectors. - Fix synchronous MFT write completion and error propagation, and prevent volumes with recorded errors from being marked clean by sync. - Fix deadlocks in metadata writeback, inode eviction and rename, and serialize truncate and fallocate against mmap faults. - Fix extended attribute corruption and preserve chmod permissions across remounts; restrict userspace writes to reserved WSL metadata attributes. - Apply Windows filename restrictions only with the windows_names option. - Harden validation of boot sectors, attributes, directory indexes and runlists, fixing out-of-bounds accesses, use-after-free and memory leaks. Link: https://github.com/namjaejeon/linux-ntfs/compare/9e031cf453d8...fdfea0c9a7b4 Signed-off-by: Qingfang Deng <dqfext@gmail.com> Link: https://github.com/openwrt/openwrt/pull/25228 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=linux-ntfs
|
|
PKG_RELEASE:=1
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
PKG_SOURCE_DATE:=2026-09-21
|
|
PKG_SOURCE_URL:=https://github.com/namjaejeon/linux-ntfs
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_VERSION:=fdfea0c9a7b4e294daffa839e76bb41d69ec192c
|
|
PKG_MIRROR_HASH:=8644abf36f439e731b4857d574e2ecd96ebfa7ea548a70d5fb26a22a783d51c7
|
|
|
|
PKG_LICENSE:=GPL-2.0-or-later
|
|
|
|
PKG_MAINTAINER:=Qingfang Deng <dqfext@gmail.com>
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define KernelPackage/fs-ntfs
|
|
SECTION:=kernel
|
|
CATEGORY:=Kernel modules
|
|
SUBMENU:=Filesystems
|
|
TITLE:=NTFS file system support
|
|
DEPENDS:=+kmod-nls-base
|
|
URL:=$(PKG_SOURCE_URL)
|
|
FILES:=$(PKG_BUILD_DIR)/ntfs.ko
|
|
AUTOLOAD:=$(call AutoProbe,ntfs)
|
|
endef
|
|
|
|
define KernelPackage/fs-ntfs/description
|
|
NTFS is the file system of Microsoft Windows NT, 2000, XP and 2003.
|
|
|
|
This allows you to mount devices formatted with the ntfs file system.
|
|
endef
|
|
|
|
NOSTDINC_FLAGS += \
|
|
$(KERNEL_NOSTDINC_FLAGS)
|
|
|
|
EXTRA_KCONFIG:= \
|
|
CONFIG_NTFS_FS=m \
|
|
CONFIG_NTFS_FS_WOF_COMPRESSION=y
|
|
|
|
MAKE_OPTS:= \
|
|
M="$(PKG_BUILD_DIR)" \
|
|
NOSTDINC_FLAGS="$(NOSTDINC_FLAGS)" \
|
|
$(EXTRA_KCONFIG)
|
|
|
|
define Build/Compile
|
|
+$(KERNEL_MAKE) $(PKG_JOBS) $(MAKE_OPTS) modules
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,fs-ntfs))
|