diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-05-23 11:44:12 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:39 -0400 |
commit | e5c15444d6aca00610c5ae9b571e307c65e744e4 (patch) | |
tree | 86e44f34db9647118151d44bd78f01d052bdc565 /fs/bcachefs/dirent.c | |
parent | 22d8a33d30d7a28d0dd972f36cc48b80f585d67b (diff) | |
download | linux-e5c15444d6aca00610c5ae9b571e307c65e744e4.tar.gz linux-e5c15444d6aca00610c5ae9b571e307c65e744e4.tar.bz2 linux-e5c15444d6aca00610c5ae9b571e307c65e744e4.zip |
bcachefs: Print out d_type in dirent_to_text()
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/dirent.c')
-rw-r--r-- | fs/bcachefs/dirent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/dirent.c b/fs/bcachefs/dirent.c index ae5c9fd8d9f7..f34bfda8ab0d 100644 --- a/fs/bcachefs/dirent.c +++ b/fs/bcachefs/dirent.c @@ -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, |