Second part of various fixes and refactoring for ntfs3. Konstantin Komarov (14): fs/ntfs3: Fixing work with sparse clusters fs/ntfs3: Change new sparse cluster processing fs/ntfs3: Fix wrong indentations fs/ntfs3: atomic_open implementation fs/ntfs3: Fixing wrong logic in attr_set_size and ntfs_fallocate fs/ntfs3: Changing locking in ntfs_rename fs/ntfs3: Restore correct state after ENOSPC in attr_data_get_block fs/ntfs3: Correct ntfs_check_for_free_space fs/ntfs3: Check fields while reading fs/ntfs3: Fix incorrect if in ntfs_set_acl_ex fs/ntfs3: Use ALIGN kernel macro fs/ntfs3: Fix wrong if in hdr_first_de fs/ntfs3: Improve checking of bad clusters fs/ntfs3: Make if more readable fs/ntfs3/attrib.c | 338 +++++++++++++++++++++++++++++---------------- fs/ntfs3/bitmap.c | 38 +++++ fs/ntfs3/file.c | 203 ++++++++------------------- fs/ntfs3/frecord.c | 2 +- fs/ntfs3/fslog.c | 3 +- fs/ntfs3/fsntfs.c | 35 ++++- fs/ntfs3/index.c | 105 ++++++++++++-- fs/ntfs3/inode.c | 86 +++++++----- fs/ntfs3/namei.c | 104 ++++++++++++++ fs/ntfs3/ntfs.h | 6 +- fs/ntfs3/ntfs_fs.h | 22 ++- fs/ntfs3/record.c | 5 +- fs/ntfs3/run.c | 28 +--- fs/ntfs3/super.c | 64 +++++---- fs/ntfs3/xattr.c | 116 ++++++++++------ 15 files changed, 737 insertions(+), 418 deletions(-) -- 2.37.0