mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-12-08 00:00:12 +03:00
cmd_dump: handle BCH_SB_MEMBER_INVALID
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
c28abdfa46
commit
7ffbed2343
@ -37,8 +37,9 @@ static void dump_node(struct bch_fs *c, dump_devs *devs, struct bkey_s_c k)
|
||||
#endif
|
||||
|
||||
bkey_for_each_ptr(ptrs, ptr)
|
||||
range_add(&devs->data[ptr->dev].btree,
|
||||
ptr->offset << 9, bytes);
|
||||
if (bch2_dev_exists(c, ptr->dev))
|
||||
range_add(&devs->data[ptr->dev].btree,
|
||||
ptr->offset << 9, bytes);
|
||||
}
|
||||
|
||||
static void get_sb_journal(struct bch_fs *c, struct bch_dev *ca,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user