Skip to contentSkip to conversation

ntfs3: bugfixes for 6.12

GIT PULL Merged Konstantin Komarov 3 participants 3 messages Oct 8, 2024

Subsystems (2)
lore
Share & tools
lore

Konstantin Komarov

author maintainer
#0 lore raw

Please pull this branch containing ntfs3 code for 6.12.

New:

	implement fallocate for compressed files;
	add support for the compression attribute;
	optimize large writes to sparse files.
Fixed:
	fix several potential deadlock scenarios;
	fix various internal bugs detected by syzbot;
	add checks before accessing NTFS structures during parsing;
	correct the format of output messages.
Refactored:
	replace fsparam_flag_no with fsparam_flag in options parser;
	remove unused functions and macros.

All changed code was in linux-next branch at least week (New/Refactored changes much longer).

Regards,
Konstantin

----------------------------------------------------------------

The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b:

Linux 6.11-rc1 (2024-07-28 14:19:55 -0700)

are available in the Git repository at:

https://github.com/Paragon-Software-Group/linux-ntfs3.git tags/ntfs3_for_6.12

for you to fetch changes up to 48dbc127836a6f311414bc03eae386023d05ed30:

fs/ntfs3: Format output messages like others fs in kernel (2024-10-01 12:19:09 +0300)

----------------------------------------------------------------
Andrew Ballance (1):
fs/ntfs3: Check if more than chunk-size bytes are written

Diogo Jahchan Koike (1):
ntfs3: Change to non-blocking allocation in ntfs_d_hash

Dr. David Alan Gilbert (1):
fs/ntfs3: Remove unused al_delete_le

Konstantin Komarov (20):
fs/ntfs3: Do not call file_modified if collapse range failed fs/ntfs3: Optimize large writes into sparse file fs/ntfs3: Separete common code for file_read/write iter/splice fs/ntfs3: Fix sparse warning for bigendian
fs/ntfs3: Fix warning possible deadlock in ntfs_set_state fs/ntfs3: Fix sparse warning in ni_fiemap
fs/ntfs3: Refactor enum_rstbl to suppress static checker fs/ntfs3: Stale inode instead of bad
fs/ntfs3: Add rough attr alloc_size check
fs/ntfs3: Make checks in run_unpack more clear fs/ntfs3: Implement fallocate for compressed files fs/ntfs3: Add support for the compression attribute fs/ntfs3: Replace fsparam_flag_no -> fsparam_flag fs/ntfs3: Rename ntfs3_setattr into ntfs_setattr fs/ntfs3: Fix possible deadlock in mi_read
fs/ntfs3: Additional check in ni_clear()
fs/ntfs3: Sequential field availability check in mi_enum_attr() fs/ntfs3: Fix general protection fault in run_is_mapped_full fs/ntfs3: Additional check in ntfs_file_release fs/ntfs3: Format output messages like others fs in kernel

Thorsten Blum (1):
fs/ntfs3: Use swap() to improve code

lei lu (1):
ntfs3: Add bounds checking to mi_enum_attr()

 fs/ntfs3/attrib.c             |  96 +++++++++++++++++++---
 fs/ntfs3/attrlist.c           |  53 ------------
 fs/ntfs3/file.c               | 185 +++++++++++++++++++++++++++++++-----------
 fs/ntfs3/frecord.c            |  97 ++++++++++++++++++----
 fs/ntfs3/fslog.c              |  19 ++++-
 fs/ntfs3/inode.c              |  20 +++--
 fs/ntfs3/lib/lzx_decompress.c |   3 +-
 fs/ntfs3/lznt.c               |   3 +
 fs/ntfs3/namei.c              |  10 +--
 fs/ntfs3/ntfs_fs.h            |  10 +--
 fs/ntfs3/record.c             |  31 ++++---
 fs/ntfs3/run.c                |   8 +-
 fs/ntfs3/super.c              |  70 ++++++++--------
 fs/ntfs3/xattr.c              |   2 +-
 14 files changed, 410 insertions(+), 197 deletions(-)
#2 lore raw
In reply to Konstantin Komarov
Quoted 2 lines · Konstantin Komarov

Please pull this branch containing ntfs3 code for 6.12.

The bulk of this *really* should have come in during the merge window.

I've pulled it (.. because ntfs3), but still,

Linus