aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2023-10-05 21:42:47 -0400
committerTheodore Ts'o <tytso@mit.edu>2023-10-05 21:48:02 -0400
commitee6a12d0d4d85f3833d177cd382cd417f0ef011b (patch)
tree3871e2a4eac9a6bf56285f3f86e9962d55dbcfc2 /fs/ext4
parent8a749fd1a8720d4619c91c8b6e7528c0a355c0aa (diff)
downloadlinux-ee6a12d0d4d85f3833d177cd382cd417f0ef011b.tar.gz
ext4: add missing initialization of call_notify_error in update_super_work()
Fixes: ff0722de896e ("ext4: add periodic superblock update check") Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/super.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index dbebd8b3127e5..6f48dec19f4a2 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;