Hi Linus, Please pull this branch containing ntfs3 code for 5.19. Fixed: - some memory leaks and panic; - fixed xfstests (tested on x86_64) generic/092 generic/099 generic/228 generic/240 generic/307 generic/444; - bugfix (memory leak) for 5.18 [1]; - some typos, dead code, etc. Most of the code was in linux-next branch for several months, but there are some patches, that were in linux-next branch only for a couple of days. Hopefully it is ok - no regression was detected in tests. Note: after first 9 commits there was merge with Linux 5.18. I'm not sure if this complicates things, so I've listed all commits too. Regards, Konstantin [1]: https://www.spinics.net/lists/ntfs3/msg01036.html ---------------------------------------------------------------- The following changes since commit 8bb7eca972ad531c9b149c0a51ab43a417385813: Linux 5.15 (Sun Oct 31 13:53:10 2021 -0700) are available in the Git repository at: https://github.com/Paragon-Software-Group/linux-ntfs3.git ntfs3_for_5.19 for you to fetch changes up to 724bbe49c5e427cb077357d72d240a649f2e4054: fs/ntfs3: provide block_invalidate_folio to fix memory leak (Mon May 30 13:36:45 2022 +0200) All commits: 724bbe49c5e4 fs/ntfs3: provide block_invalidate_folio to fix memory leak f26967b9f7a8 fs/ntfs3: Fix invalid free in log_replay < merge with 5.18 happened > 52e00ea6b26e fs/ntfs3: Update valid size if -EIOCBQUEUED 114346978cf6 fs/ntfs3: Check new size for limits 3880f2b816a7 fs/ntfs3: Fix fiemap + fix shrink file size (to remove preallocated space) 9186d472ee78 fs/ntfs3: In function ntfs_set_acl_ex do not change inode->i_mode if called from function ntfs_init_acl 3a2154b25a9f fs/ntfs3: Optimize locking in ntfs_save_wsl_perm 2d44667c306e fs/ntfs3: Update i_ctime when xattr is added 87e21c99bad7 fs/ntfs3: Restore ntfs_xattr_get_acl and ntfs_xattr_set_acl functions e95113ed4d42 fs/ntfs3: Keep preallocated only if option prealloc enabled e589f9b7078e fs/ntfs3: Fix some memory leaks in an error handling path of 'log_replay()' ---------------------------------------------------------------- Konstantin Komarov (8) fs/ntfs3: Update valid size if -EIOCBQUEUED fs/ntfs3: Check new size for limits fs/ntfs3: Fix fiemap + fix shrink file size (to remove preallocated space) fs/ntfs3: In function ntfs_set_acl_ex do not change inode->i_mode if called from function ntfs_init_acl fs/ntfs3: Optimize locking in ntfs_save_wsl_perm fs/ntfs3: Update i_ctime when xattr is added fs/ntfs3: Restore ntfs_xattr_get_acl and ntfs_xattr_set_acl functions fs/ntfs3: Keep preallocated only if option prealloc enabled Mikulas Patocka (1) fs/ntfs3: provide block_invalidate_folio to fix memory leak Namjae Jeon (1) fs/ntfs3: Fix invalid free in log_replay Christophe JAILLET (1) fs/ntfs3: Fix some memory leaks in an error handling path of 'log_replay()' fs/ntfs3/file.c | 12 +++++++++--- fs/ntfs3/frecord.c | 10 +++++++--- fs/ntfs3/fslog.c | 12 +++++++----- fs/ntfs3/inode.c | 9 ++++++-- fs/ntfs3/xattr.c | 136 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------- 5 files changed, 149 insertions(+), 30 deletions(-)