projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49aa783
)
bcachefs: Fix failure to return error in data_update_index_update()
author
Kent Overstreet
<kent.overstreet@linux.dev>
Mon, 26 Aug 2024 19:11:38 +0000
(15:11 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Tue, 27 Aug 2024 00:33:12 +0000
(20:33 -0400)
This fixes an assertion pop in io_write.c - if we don't return an error
we're supposed to have completed all the btree updates.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/data_update.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/data_update.c
b/fs/bcachefs/data_update.c
index 65176d51b502e615a522d7533a2efcc986979fe0..004894ad41470125462e225b963e7b0a61c9566a 100644
(file)
--- a/
fs/bcachefs/data_update.c
+++ b/
fs/bcachefs/data_update.c
@@
-337,6
+337,7
@@
restart_drop_extra_replicas:
printbuf_exit(&buf);
bch2_fatal_error(c);
+ ret = -EIO;
goto out;
}