Commit e5c15444 authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: Print out d_type in dirent_to_text()

Signed-off-by: default avatarKent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 22d8a33d
......@@ -104,7 +104,7 @@ void bch2_dirent_to_text(struct printbuf *out, struct bch_fs *c,
bch_scnmemcpy(out, d.v->d_name,
bch2_dirent_name_bytes(d));
pr_buf(out, " -> %llu", d.v->d_inum);
pr_buf(out, " -> %llu type %u", d.v->d_inum, d.v->d_type);
}
static struct bkey_i_dirent *dirent_create_key(struct btree_trans *trans,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment