nilfs2-initialize-struct-nilfs_binfo_dat-bi_pad-field.patch removed from -mm tree
The quilt patch titled
Subject: nilfs2: initialize "struct nilfs_binfo_dat"->bi_pad field
has been removed from the -mm tree. Its filename was
nilfs2-initialize-struct-nilfs_binfo_dat-bi_pad-field.patch
This patch was dropped because it was merged into the mm-hotfixes-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Tetsuo Handa <[email protected]>
Subject: nilfs2: initialize "struct nilfs_binfo_dat"->bi_pad field
Date: Mon, 27 Mar 2023 00:21:46 +0900
nilfs_btree_assign_p() and nilfs_direct_assign_p() are not initializing "struct nilfs_binfo_dat"->bi_pad field, causing uninit-value reports when being passed to CRC function.
---
fs/nilfs2/btree.c | 1 + fs/nilfs2/direct.c | 1 + 2 files changed, 2 insertions(+)
fs/nilfs2/btree.c renamed from fs/nilfs2/btree.c~nilfs2-initialize-struct-nilfs_binfo_dat-bi_pad-field +1 -0
@@ -2219,6 +2219,7 @@ static int nilfs_btree_assign_p(struct n/* on-disk format */ binfo->bi_dat.bi_blkoff =cpu_to_le64 (key); binfo->bi_dat.bi_level = level; +memset (binfo->bi_dat.bi_pad,0 ,sizeof (binfo->bi_dat.bi_pad));return 0 ; }
fs/nilfs2/direct.c renamed from fs/nilfs2/direct.c~nilfs2-initialize-struct-nilfs_binfo_dat-bi_pad-field +1 -0
@@ -314,6 +314,7 @@ static int nilfs_direct_assign_p(struct binfo->bi_dat.bi_blkoff =cpu_to_le64 (key); binfo->bi_dat.bi_level =0 ; +memset (binfo->bi_dat.bi_pad,0 ,sizeof (binfo->bi_dat.bi_pad));return 0 ; }
_
Patches currently in -mm which might be from [email protected] are
mm-page_alloc-fix-potential-deadlock-on-zonelist_update_seq-seqlock.patch