Please pull this branch containing ntfs3 code for 6.10.
Fixed:
- reusing of the file index (could cause the file to be trimmed) [1];
- infinite dir enumeration [2];
- taking DOS names into account during link counting;
- le32_to_cpu conversion, 32 bit overflow, NULL check;
- some code was refactored.
Changed:
- removed max link count info display during driver init.
Removed:
- atomic_open has been removed for lack of use.
All changed code (except [1] and [2]) was in linux-next branch for several weeks.
[1] https://lore.kernel.org/ntfs3/[email protected]/
[2] https://lore.kernel.org/ntfs3/[email protected]/
These two patches fix a critical bug, so I've added them to this request.
Regards,
Konstantin
----------------------------------------------------------------
The following changes since commit 0bbac3facb5d6cc0171c45c9873a2dc96bea9680:
Linux 6.9-rc4 (2024-04-14 13:38:39 -0700)
are available in the Git repository at:
https://github.com/Paragon-Software-Group/linux-ntfs3.git tags/ntfs3_for_6.10
for you to fetch changes up to 302e9dca8428979c9c99f2dbb44dc1783f5011c3:
fs/ntfs3: Break dir enumeration if directory contents error (2024-05-24 12:50:12 +0300)
----------------------------------------------------------------
Jeff Layton (1):
fs/ntfs3: remove atomic_open
Konstantin Komarov (11):
fs/ntfs3: Taking DOS names into account during link counting
fs/ntfs3: Remove max link count info display during driver init
fs/ntfs3: Missed le32_to_cpu conversion
fs/ntfs3: Check 'folio' pointer for NULL
fs/ntfs3: Use 64 bit variable to avoid 32 bit overflow
fs/ntfs3: Use variable length array instead of fixed size
fs/ntfs3: Redesign ntfs_create_inode to return error code instead of inode
fs/ntfs3: Always make file nonresident on fallocate call
fs/ntfs3: Mark volume as dirty if xattr is broken
fs/ntfs3: Fix case when index is reused during tree transformation
fs/ntfs3: Break dir enumeration if directory contents error
Lenko Donchev (1):
fs/ntfs3: use kcalloc() instead of kzalloc()
fs/ntfs3/attrib.c | 32 ++++++++++++++
fs/ntfs3/dir.c | 1 +
fs/ntfs3/file.c | 9 ++++
fs/ntfs3/frecord.c | 2 +-
fs/ntfs3/fslog.c | 5 ++-
fs/ntfs3/index.c | 6 +++
fs/ntfs3/inode.c | 46 +++++++++++---------
fs/ntfs3/namei.c | 121 ++++-------------------------------------------------
fs/ntfs3/ntfs.h | 2 +-
fs/ntfs3/ntfs_fs.h | 10 ++---
fs/ntfs3/record.c | 11 +----
fs/ntfs3/super.c | 2 -
fs/ntfs3/xattr.c | 5 ++-
13 files changed, 98 insertions(+), 154 deletions(-)
The pull request you sent on Sat, 25 May 2024 10:03:23 +0300:
> https://github.com/Paragon-Software-Group/linux-ntfs3.git tags/ntfs3_for_6.10
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/89b61ca478dcb66625fb36f3b47ef4e0eae2e461
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html