Commit Graph
4 Commits
Author SHA1 Message Date
Qingfang Deng 6c87989393 ntfs: update to 2026-09-21
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>
2026-10-15 00:43:02 +02:00
Qingfang Deng 54d2b5d779 ntfs: update to 2026-05-03
Update to the latest version.

Changes:
- fix NULL dereference in ntfs_index_walk_down()
- fix WSL symlink target leak on reparse failure
- conditionally enable POSIX ACL
- fix error handling in ntfs_write_iomap_end_resident()
- fix VCN overflow in ntfs_mapping_pairs_decompress()
- drop nlink once for WIN32/DOS aliases
- fix invalid PTR_ERR() usage in __ntfs_bitmap_set_bits_in_run()
- Use return instead of goto in ntfs_mapping_pairs_decompress()

Removed upstreamed patch:
- 001-conditionally-enable-posix-acl.patch

Signed-off-by: Qingfang Deng <dqfext@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23292
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-05-14 19:05:45 +02:00
Qingfang Deng 4f59715716 ntfs: update to 2026-04-25
Update to the latest version, and fix build on targets without
FS_POSIX_ACL.

Signed-off-by: Qingfang Deng <dqfext@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23090
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-26 10:05:41 +02:00
Qingfang Deng 4b3758e8be ntfs: new package
Backport the latest NTFS driver. The in-tree NTFS3 driver is obsolete.

Signed-off-by: Qingfang Deng <dqfext@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22861
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-13 01:37:49 +02:00