[GIT PULL] ntfs3: changes for 7.0
From: Konstantin Komarov
Date: Tue Feb 17 2026 - 14:07:16 EST
Regards,
Konstantin
----------------------------------------------------------------
The following changes since commit 8f0b4cce4481fb22653697cced8d0d04027cb1e8:
Linux 6.19-rc1 (2025-12-14 16:05:07 +1200)
are available in the Git repository at:
https://github.com/Paragon-Software-Group/linux-ntfs3.git tags/ntfs3_for_7.0
for you to fetch changes up to 10d7c95af043b45a85dc738c3271bf760ff3577e:
fs/ntfs3: add delayed-allocation (delalloc) support (2026-02-16 17:23:51 +0100)
----------------------------------------------------------------
Changes for 7.0-rc1
Added:
improve readahead for bitmap initialization and large directory scans
fsync files by syncing parent inodes
drop of preallocated clusters for sparse and compressed files
zero-fill folios beyond i_valid in ntfs_read_folio()
implement llseek SEEK_DATA/SEEK_HOLE by scanning data runs
implement iomap-based file operations
allow explicit boolean acl/prealloc mount options
a fall-through between switch labels
a delayed-allocation (delalloc) support
Fixed:
check return value of indx_find to avoid infinite loop
initialize new folios before use
an infinite loop in attr_load_runs_range on inconsistent metadata
an infinite loop triggered by zero-sized ATTR_LIST
ntfs_mount_options leak in ntfs_fill_super()
a deadlock in ni_read_folio_cmpr
a circular locking dependency in run_unpack_ex
prevent infinite loops caused by the next valid being the same
restore NULL folio initialization in ntfs_writepages()
a slab-out-of-bounds read in DeleteIndexEntryRoot
Changed:
allow readdir() to finish after directory mutations without rewinddir()
handle attr_set_size() errors when truncating files
make ntfs_writeback_ops static
refactor duplicate kmemdup pattern in do_action()
avoid calling run_get_entry() when run == NULL in ntfs_read_run_nb_ra()
Replaced:
use wait_on_buffer() directly
rename ni_readpage_cmpr into ni_read_folio_cmpr
----------------------------------------------------------------
Baokun Li (1):
fs/ntfs3: fix ntfs_mount_options leak in ntfs_fill_super()
Baolin Liu (1):
ntfs3: Refactor duplicate kmemdup pattern in do_action()
Bartlomiej Kubik (1):
fs/ntfs3: Initialize new folios before use
Edward Adam Davis (1):
fs/ntfs3: prevent infinite loops caused by the next valid being the same
Jaehun Gou (3):
fs: ntfs3: check return value of indx_find to avoid infinite loop
fs: ntfs3: fix infinite loop in attr_load_runs_range on inconsistent metadata
fs: ntfs3: fix infinite loop triggered by zero-sized ATTR_LIST
Jiasheng Jiang (1):
fs/ntfs3: Fix slab-out-of-bounds read in DeleteIndexEntryRoot
Konstantin Komarov (13):
fs/ntfs3: rename ni_readpage_cmpr into ni_read_folio_cmpr
fs/ntfs3: improve readahead for bitmap initialization and large directory scans
fs/ntfs3: allow readdir() to finish after directory mutations without rewinddir()
fs/ntfs3: fsync files by syncing parent inodes
fs/ntfs3: drop preallocated clusters for sparse and compressed files
fs/ntfs3: handle attr_set_size() errors when truncating files
fs/ntfs3: zero-fill folios beyond i_valid in ntfs_read_folio()
fs/ntfs3: implement llseek SEEK_DATA/SEEK_HOLE by scanning data runs
fs/ntfs3: implement iomap-based file operations
fs/ntfs3: allow explicit boolean acl/prealloc mount options
fs/ntfs3: add fall-through between switch labels
fs/ntfs3: avoid calling run_get_entry() when run == NULL in ntfs_read_run_nb_ra()
fs/ntfs3: add delayed-allocation (delalloc) support
Lalit Shankar Chowdhury (1):
fs/ntfs3: Use wait_on_buffer() directly
Nathan Chancellor (1):
ntfs3: Restore NULL folio initialization in ntfs_writepages()
Szymon Wilczek (2):
fs/ntfs3: fix deadlock in ni_read_folio_cmpr
ntfs3: fix circular locking dependency in run_unpack_ex
sunliming (1):
fs/ntfs3: make ntfs_writeback_ops static
fs/ntfs3/attrib.c | 412 ++++++++++++++++++---------
fs/ntfs3/attrlist.c | 17 +-
fs/ntfs3/bitmap.c | 17 ++
fs/ntfs3/dir.c | 108 ++++---
fs/ntfs3/file.c | 599 ++++++++++++++++++++++-----------------
fs/ntfs3/frecord.c | 382 +++++++++++++------------
fs/ntfs3/fslog.c | 65 +++--
fs/ntfs3/fsntfs.c | 112 +++++---
fs/ntfs3/index.c | 49 ++--
fs/ntfs3/inode.c | 800 ++++++++++++++++++++++++++++------------------------
fs/ntfs3/ntfs.h | 4 +
fs/ntfs3/ntfs_fs.h | 153 +++++++---
fs/ntfs3/run.c | 163 ++++++++++-
fs/ntfs3/super.c | 73 +++--
fs/ntfs3/xattr.c | 2 +-
15 files changed, 1822 insertions(+), 1134 deletions(-)