diff options
author | Theodore Ts'o <tytso@mit.edu> | 2023-10-06 04:42:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-20 13:59:20 +0300 |
commit | b9945f9004e22db018d722e511d86595454659a7 (patch) | |
tree | 2bd9816e0bed1e74f26a6966ab0b7116fb4fcb2a /fs/ext4/super.c | |
parent | bf96d362aa180714efc88f371b10a1662f1e4c78 (diff) | |
download | linux-b9945f9004e22db018d722e511d86595454659a7.tar.xz |
ext4: add missing initialization of call_notify_error in update_super_work()
[ Upstream commit ee6a12d0d4d85f3833d177cd382cd417f0ef011b ]
Fixes: ff0722de896e ("ext4: add periodic superblock update check")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r-- | fs/ext4/super.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index dbebd8b3127e..6f48dec19f4a 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -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; |