]> git.itanic.dy.fi Git - linux-stable/commitdiff
ext4: add missing initialization of call_notify_error in update_super_work()
authorTheodore Ts'o <tytso@mit.edu>
Fri, 6 Oct 2023 01:42:47 +0000 (21:42 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 6 Oct 2023 01:48:02 +0000 (21:48 -0400)
Fixes: ff0722de896e ("ext4: add periodic superblock update check")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c

index dbebd8b3127e514e7dc165ced48da0b6ff3cd7da..6f48dec19f4a27e4715e5a7993b1b3afac2189f7 100644 (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;