diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-05 01:22:56 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-05 19:14:22 +0100 |
commit | 853960d00b4b3df96acbf8e18980896f9115c45c (patch) | |
tree | ac8dcfde63a0eff2cf557684fea4f305866ecafb /fs/bcachefs/ec.c | |
parent | bcachefs: kill thing_it_points_to arg to backpointer_not_found() (diff) | |
download | linux-853960d00b4b3df96acbf8e18980896f9115c45c.tar.xz linux-853960d00b4b3df96acbf8e18980896f9115c45c.zip |
bcachefs: Simplify, fix bch2_backpointer_get_key()
- backpointer_not_found() checks backpointers_no_use_write_buffer, no
need to do it inbackpointer_get_key().
- always use backpointer_get_node() for pointers to nodes:
backpointer_get_key() was sometimes returning the key from the root
node unlocked.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions