ext4: add missing initialization of call_notify_error in update_super_work()

[ Upstream commit ee6a12d0d4 ]

Fixes: ff0722de89 ("ext4: add periodic superblock update check")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Theodore Ts'o 2023-10-05 21:42:47 -04:00 committed by Greg Kroah-Hartman
parent bf96d362aa
commit b9945f9004
1 changed files with 2 additions and 1 deletions

View File

@ -768,7 +768,8 @@ static void update_super_work(struct work_struct *work)
*/
if (!sb_rdonly(sbi->s_sb) && journal) {
struct buffer_head *sbh = sbi->s_sbh;
bool call_notify_err;
bool call_notify_err = false;
handle = jbd2_journal_start(journal, 1);
if (IS_ERR(handle))
goto write_directly;