We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49887e4 commit d9a4549Copy full SHA for d9a4549
fs/jbd2/journal.c
@@ -2500,12 +2500,12 @@ int jbd2_journal_flush(journal_t *journal, unsigned int flags)
2500
2501
int jbd2_journal_wipe(journal_t *journal, int write)
2502
{
2503
- int err = 0;
+ int err;
2504
2505
J_ASSERT (!(journal->j_flags & JBD2_LOADED));
2506
2507
if (!journal->j_tail)
2508
- goto no_recovery;
+ return 0;
2509
2510
printk(KERN_WARNING "JBD2: %s recovery information on journal\n",
2511
write ? "Clearing" : "Ignoring");
@@ -2518,7 +2518,6 @@ int jbd2_journal_wipe(journal_t *journal, int write)
2518
mutex_unlock(&journal->j_checkpoint_mutex);
2519
}
2520
2521
- no_recovery:
2522
return err;
2523
2524
0 commit comments