[GIT PULL] ntfs3: bugfixes for 6.10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/20240516122041.5759-1-almaz.alexandrovich@xxxxxxxxxxxxxxxxxxxx/
[2] https://lore.kernel.org/ntfs3/20240516120029.5113-1-almaz.alexandrovich@xxxxxxxxxxxxxxxxxxxx/
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(-)




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux