[PATCH 00/10] Refactoring and bugfix

From: Konstantin Komarov
Date: Mon May 08 2023 - 08:35:12 EST


This series contains various fixes and refactoring for ntfs3.
The loading has been slightly revised.
Added support /proc/fs/ntfs3/<dev>/volinfo and /proc/fs/ntfs3/<dev>/label.

Konstantin Komarov (10):
  fs/ntfs3: Correct checking while generating attr_list
  fs/ntfs3: Fix ntfs_atomic_open
  fs/ntfs3: Mark ntfs dirty when on-disk struct is corrupted
  fs/ntfs3: Alternative boot if primary boot is corrupted
  fs/ntfs3: Do not update primary boot in ntfs_init_from_boot()
  fs/ntfs3: Code formatting
  fs/ntfs3: Code refactoring
  fs/ntfs3: Add ability to format new mft records with bigger/smaller
    header
  fs/ntfs3: Fix endian problem
  fs/ntfs3: Add support /proc/fs/ntfs3/<dev>/volinfo and
    /proc/fs/ntfs3/<dev>/label

 fs/ntfs3/attrib.c   |   2 +-
 fs/ntfs3/attrlist.c |   3 +-
 fs/ntfs3/bitmap.c   |  10 +-
 fs/ntfs3/file.c     |   4 +-
 fs/ntfs3/frecord.c  |  54 +++++----
 fs/ntfs3/fslog.c    |  40 +++----
 fs/ntfs3/fsntfs.c   |  99 ++++++++++++----
 fs/ntfs3/index.c    |  20 ++--
 fs/ntfs3/inode.c    |  23 ++--
 fs/ntfs3/lznt.c     |   6 +-
 fs/ntfs3/namei.c    |  31 ++---
 fs/ntfs3/ntfs.h     | 117 +++++++++++--------
 fs/ntfs3/ntfs_fs.h  |  31 ++---
 fs/ntfs3/record.c   |  10 +-
 fs/ntfs3/run.c      |   4 +-
 fs/ntfs3/super.c    | 279 ++++++++++++++++++++++++++++++++++++++------
 fs/ntfs3/xattr.c    |  16 ++-
 17 files changed, 516 insertions(+), 233 deletions(-)