summaryrefslogtreecommitdiff
path: root/fs/jbd2
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2021-08-10 12:55:51 -0400
committerTheodore Ts'o <tytso@mit.edu>2021-08-10 12:55:51 -0400
commit390add0cc9f4d7fda89cf3db7651717e82cf0afc (patch)
tree12e83db3304db4fd0f4836a7fd75840d49fc5233 /fs/jbd2
parenta20d1cebb98bba75f2e34fddc768dd8712c1bded (diff)
downloadlinux-390add0cc9f4d7fda89cf3db7651717e82cf0afc.tar.gz
jbd2: fix clang warning in recovery.c
Remove unused variable store which was never used. This fix is also in e2fsprogs commit 99a2294f85f0 ("e2fsck: value stored to err is never read"). Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2')
-rw-r--r--fs/jbd2/recovery.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/jbd2/recovery.c b/fs/jbd2/recovery.c
index 4c4209262437..ba979fcf1cd3 100644
--- a/fs/jbd2/recovery.c
+++ b/fs/jbd2/recovery.c
@@ -760,7 +760,6 @@ static int do_one_pass(journal_t *journal,
*/
jbd_debug(1, "JBD2: Invalid checksum ignored in transaction %u, likely stale data\n",
next_commit_ID);
- err = 0;
brelse(bh);
goto done;
}