projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cf6b84
)
bcachefs: Pass _orig_restart_count to trans_was_restarted
author
Alan Huang
<mmpgouride@gmail.com>
Wed, 12 Feb 2025 18:11:01 +0000
(
02:11
+0800)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Wed, 12 Feb 2025 23:40:19 +0000
(18:40 -0500)
_orig_restart_count is unused now, according to the logic, trans_was_restarted
should be using _orig_restart_count.
Signed-off-by: Alan Huang <mmpgouride@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_iter.h
patch
|
blob
|
blame
|
history
diff --git
a/fs/bcachefs/btree_iter.h
b/fs/bcachefs/btree_iter.h
index 8c16d9a3ec1d81013d319f04f3b07ee673a99f39..b96157f3dc9c746f6f625cd8598d30be333ec4f8 100644
(file)
--- a/
fs/bcachefs/btree_iter.h
+++ b/
fs/bcachefs/btree_iter.h
@@
-751,7
+751,7
@@
transaction_restart: \
if (!_ret2) \
bch2_trans_verify_not_restarted(_trans, _restart_count);\
\
- _ret2 ?: trans_was_restarted(_trans, _
restart_count);
\
+ _ret2 ?: trans_was_restarted(_trans, _
orig_restart_count);
\
})
#define for_each_btree_key_max_continue(_trans, _iter, \