aboutsummaryrefslogtreecommitdiff
path: root/fs/bad_inode.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-04-14 13:26:15 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:00 -0400
commit2527dd91580b1eb5ff1f8df1b47817ac60395830 (patch)
tree010df60c971735284954e484109dbac249db7a3a /fs/bad_inode.c
parent0ef107859bc868f783cbbbf055a907c702896661 (diff)
bcachefs: Improve bch2_btree_iter_traverse_all()
By changing it to upgrade iterators to intent locks to avoid lock restarts we can simplify __bch2_btree_node_lock() quite a bit - this fixes a probable bug where it could potentially drop a lock on an unrelated error but still succeed instead of causing a transaction restart. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bad_inode.c')
0 files changed, 0 insertions, 0 deletions