Here are fixes for sparse warnings, possible deadlooks. Refactoring was done with extraction of common code and some optimizations. Added the ability to set a compression attribute (chattr). Konstantin Komarov (14): 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: Remove '__user' for kernel pointer 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/attrib.c | 96 ++++++++++++++++++++++--- fs/ntfs3/file.c | 176 +++++++++++++++++++++++++++++++++------------ fs/ntfs3/frecord.c | 74 ++++++++++++++++++- fs/ntfs3/fslog.c | 19 ++++- fs/ntfs3/inode.c | 15 ++-- fs/ntfs3/namei.c | 4 +- fs/ntfs3/ntfs_fs.h | 8 ++- fs/ntfs3/record.c | 3 + fs/ntfs3/run.c | 8 ++- fs/ntfs3/super.c | 57 ++++++++------- fs/ntfs3/xattr.c | 2 +- 11 files changed, 360 insertions(+), 102 deletions(-) -- 2.34.1