[PATCH 00/18] Bugfix​ and refactoring

From: Konstantin Komarov
Date: Fri Jun 07 2024 - 08:21:26 EST


Fixed the type identification of directory elements during enumeration.
Fixed the behavior under edge cases.
Added attr checks in log replay.
Removed unused function, MACRO.

Konstantin Komarov (18):
fs/ntfs3: Remove unused function
fs/ntfs3: Simplify initialization of $AttrDef and $UpCase
fs/ntfs3: Fix transform resident to nonresident for compressed files
fs/ntfs3: Deny getting attr data block in compressed frame
fs/ntfs3: Missed NI_FLAG_UPDATE_PARENT setting
fs/ntfs3: Fix getting file type
fs/ntfs3: Add missing .dirty_folio in address_space_operations
fs/ntfs3: Fix attr_insert_range at end of file
fs/ntfs3: Replace inode_trylock with inode_lock
fs/ntfs3: One more reason to mark inode bad
fs/ntfs3: Correct undo if ntfs_create_inode failed
fs/ntfs3: Add a check for attr_names and oatbl
fs/ntfs3: Use macros NTFS_LABEL_MAX_LENGTH instead of hardcoded value
fs/ntfs3: Merge synonym COMPRESSION_UNIT and NTFS_LZNT_CUNIT
fs/ntfs3: Remove sync_blockdev_nowait()
fs/ntfs3: Remove unused macros MAXIMUM_REPARSE_DATA_BUFFER_SIZE
fs/ntfs3: Rename variables
fs/ntfs3: Add some comments

fs/ntfs3/attrib.c | 36 ++++++++++++++++++++-----
fs/ntfs3/dir.c | 3 ++-
fs/ntfs3/file.c | 5 +---
fs/ntfs3/frecord.c | 6 +++--
fs/ntfs3/fslog.c | 64 +++++++++++++++++++++++++++++++--------------
fs/ntfs3/fsntfs.c | 11 ++++----
fs/ntfs3/inode.c | 43 +++++++++++++++++-------------
fs/ntfs3/ntfs.h | 6 -----
fs/ntfs3/ntfs_fs.h | 18 +------------
fs/ntfs3/super.c | 65 ++++++++++++++++++----------------------------
10 files changed, 137 insertions(+), 120 deletions(-)

--
2.34.1