[PATCH v2 0/9] Bugfix and refactoring

From: Konstantin Komarov
Date: Tue Apr 23 2024 - 02:45:21 EST


v1->v2:
Here is a reworked series of patches with corrected formatting and layout:
- two patches have been removed for finalization;
- proper commit messages were added;
- important patches have been moved to the beginning of the series
(refactoring at the end).

This series contains various fixes and refactoring for ntfs3.
Fixed problem with incorrect link counting for files with DOS names.

Konstantin Komarov (9):
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/attrib.c | 32 ++++++++++++++++++++++++++++++++
fs/ntfs3/file.c | 9 +++++++++
fs/ntfs3/fslog.c | 5 +++--
fs/ntfs3/inode.c | 46 ++++++++++++++++++++++++++--------------------
fs/ntfs3/namei.c | 31 ++++++++-----------------------
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 ++++-
10 files changed, 90 insertions(+), 63 deletions(-)

--
2.34.1