summaryrefslogtreecommitdiff
path: root/io_uring
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-09-09 21:14:54 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-09-09 21:19:58 -0400
commit5a53409a3f030b1f1d834babb17cc87ff1359d5f (patch)
treed50ceafc083a1238784fb93cf5ba951d387f14ca /io_uring
parent5f320504084259a78b3a3fa34f7eb65ef7faa245 (diff)
bcachefs: Fix silent enum conversion errorbcachefs-for-v6.6
This changes mark_btree_node_locked() to take an enum btree_node_locked_type, not a six_lock_type, since BTREE_NODE_UNLOCKED is -1 which may cause problems converting back and forth to six_lock_type if short enums are in use. With this change, we never store BTREE_NODE_UNLOCKED in a six_lock_type enum. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions