fs-hfs-initialize-fsdata-in-hfs_file_truncate.patch removed from -mm tree
The quilt patch titled
Subject: fs: hfs: initialize fsdata in hfs_file_truncate()
has been removed from the -mm tree. Its filename was
fs-hfs-initialize-fsdata-in-hfs_file_truncate.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Alexander Potapenko <[email protected]>
Subject: fs: hfs: initialize fsdata in hfs_file_truncate()
Date: Mon, 21 Nov 2022 12:21:33 +0100
When aops->write_begin() does not initialize fsdata, KMSAN may report an error passing the latter to aops->write_end().
Fix this by unconditionally initializing fsdata.
---
fs/hfs/extent.c renamed from fs/hfs/extent.c~fs-hfs-initialize-fsdata-in-hfs_file_truncate +1 -1
@@ -486,7 +486,7 @@ void hfs_file_truncate(struct inode *ino inode->i_size);if (inode->i_size >HFS_I (inode)->phys_size) {struct address_space *mapping = inode->i_mapping; -void *fsdata; +void *fsdata =NULL ;struct page *page;/* XXX: Can use generic_cont_expand? */
_
Patches currently in -mm which might be from [email protected] are