Skip to content

Commit

Permalink
ext4: add missing initialization of call_notify_error in update_super…
Browse files Browse the repository at this point in the history
…_work()

Fixes: ff0722d ("ext4: add periodic superblock update check")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
  • Loading branch information
tytso committed Oct 6, 2023
1 parent 8a749fd commit ee6a12d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/ext4/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ee6a12d

Please sign in to comment.