projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a20d1ce
)
jbd2: fix clang warning in recovery.c
author
Theodore Ts'o
<tytso@mit.edu>
Tue, 10 Aug 2021 16:55:51 +0000
(12:55 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Tue, 10 Aug 2021 16:55:51 +0000
(12:55 -0400)
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>
fs/jbd2/recovery.c
patch
|
blob
|
history
diff --git
a/fs/jbd2/recovery.c
b/fs/jbd2/recovery.c
index
4c42092
..
ba979fc
100644
(file)
--- 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;
}