projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b6e2f1
)
bcachefs: Fix an uninitialized variable
author
Kent Overstreet
<kent.overstreet@gmail.com>
Wed, 5 Jan 2022 00:45:39 +0000
(19:45 -0500)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:22 +0000
(17:09 -0400)
Only userspace builds were complaining about it, oddly enough.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/journal_io.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/journal_io.c
b/fs/bcachefs/journal_io.c
index c659a5a95b63b79c12cdebf56ed1028c7aac4d93..4602f581198eadf28be03830c7c6551fb9c286f6 100644
(file)
--- a/
fs/bcachefs/journal_io.c
+++ b/
fs/bcachefs/journal_io.c
@@
-898,7
+898,7
@@
static void bch2_journal_read_device(struct closure *cl)
struct journal_read_buf buf = { NULL, 0 };
u64 min_seq = U64_MAX;
unsigned i;
- int ret;
+ int ret
= 0
;
if (!ja->nr)
goto out;