projects
/
linux
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e3b409
)
bcachefs: Silence transaction restart error message
author
Kent Overstreet
<kent.overstreet@linux.dev>
Tue, 26 Sep 2023 05:39:25 +0000
(
01:39
-0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:15 +0000
(17:10 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fsck.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/fsck.c
b/fs/bcachefs/fsck.c
index 206302b0f5ed8a6393b7a9f97fc6b1d0d89bb0d4..2ef14adb4cb230c4e27a68aa56e8d90a89c8c086 100644
(file)
--- a/
fs/bcachefs/fsck.c
+++ b/
fs/bcachefs/fsck.c
@@
-971,10
+971,10
@@
static int check_inode(struct btree_trans *trans,
if (do_update) {
ret = __write_inode(trans, &u, iter->pos.snapshot);
- if (ret
) {
+ if (ret
&& !bch2_err_matches(ret, BCH_ERR_transaction_restart))
bch_err_msg(c, ret, "in fsck updating inode");
+ if (ret)
return ret;
- }
}
err:
fsck_err: