diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-05-11 23:32:07 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:08:21 +0200 |
commit | 3811aa6d4d3efbcf26dbe47bf73a78b17e8e71a4 (patch) | |
tree | 4d8bbabd626b60e2af5a65cf0a0cb4173c4f5ca5 /fs/bcachefs/extents.h | |
parent | bcachefs: Don't hardcode BTREE_ID_EXTENTS (diff) | |
download | linux-3811aa6d4d3efbcf26dbe47bf73a78b17e8e71a4.tar.xz linux-3811aa6d4d3efbcf26dbe47bf73a78b17e8e71a4.zip |
bcachefs: bch2_bkey_ptrs_invalid()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/extents.h')
-rw-r--r-- | fs/bcachefs/extents.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/bcachefs/extents.h b/fs/bcachefs/extents.h index 57a84971637a..4cd16e8a2af6 100644 --- a/fs/bcachefs/extents.h +++ b/fs/bcachefs/extents.h @@ -359,6 +359,10 @@ int bch2_bkey_pick_read_device(struct bch_fs *, struct bkey_s_c, struct bch_io_failures *, struct extent_ptr_decoded *); +void bch2_bkey_ptrs_to_text(struct printbuf *, struct bch_fs *, + struct bkey_s_c); +const char *bch2_bkey_ptrs_invalid(const struct bch_fs *, struct bkey_s_c); + /* bch_btree_ptr: */ const char *bch2_btree_ptr_invalid(const struct bch_fs *, struct bkey_s_c); |