diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-10-11 22:54:16 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-10-12 17:20:56 -0400 |
commit | 4e25d26a81f9daf3dd12d9f4096c6dfaf9cb3925 (patch) | |
tree | d7be41cd589b029939df9b73258b94d09d6950a2 /libbcachefs/btree_iter.h | |
parent | 1dba68252701dbc6960c56c460554f3aed5630e2 (diff) |
Update bcachefs sources to 9ab6c94002b9 bcachefs: bch2_journal_meta() takes ref on c->writes
Diffstat (limited to 'libbcachefs/btree_iter.h')
-rw-r--r-- | libbcachefs/btree_iter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/btree_iter.h b/libbcachefs/btree_iter.h index cbcd64d1..1eca133e 100644 --- a/libbcachefs/btree_iter.h +++ b/libbcachefs/btree_iter.h @@ -362,7 +362,7 @@ static int btree_trans_restart(struct btree_trans *trans, int err) static inline int trans_maybe_inject_restart(struct btree_trans *trans, unsigned long ip) { #ifdef CONFIG_BCACHEFS_INJECT_TRANSACTION_RESTARTS - if (!(ktime_get_ns() & ~(~0UL << min(63, (10 + trans->restart_count_this_trans))))) { + if (!(ktime_get_ns() & ~(~0ULL << min(63, (10 + trans->restart_count_this_trans))))) { trace_and_count(trans->c, trans_restart_injected, trans, ip); return btree_trans_restart_ip(trans, BCH_ERR_transaction_restart_fault_inject, ip); |