summaryrefslogtreecommitdiff
path: root/fs/erofs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-01-05 23:03:16 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2021-01-06 19:39:37 -0500
commit181b150f1565ac253ec5313fea76ba5d0c4bddf7 (patch)
tree4663189bbc884fe15b0b060d35ff3e20afd6ce1d /fs/erofs
parentaa7d5c7e307a0b4f77e8edc682dc60d55a4d5555 (diff)
erofs: use %pd instead of messing with ->d_name
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/erofs')
-rw-r--r--fs/erofs/namei.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/erofs/namei.c b/fs/erofs/namei.c
index 5f8cc7346c69..3a81e1f7fc06 100644
--- a/fs/erofs/namei.c
+++ b/fs/erofs/namei.c
@@ -234,8 +234,8 @@ static struct dentry *erofs_lookup(struct inode *dir,
} else if (err) {
inode = ERR_PTR(err);
} else {
- erofs_dbg("%s, %s (nid %llu) found, d_type %u", __func__,
- dentry->d_name.name, nid, d_type);
+ erofs_dbg("%s, %pd (nid %llu) found, d_type %u", __func__,
+ dentry, nid, d_type);
inode = erofs_iget(dir->i_sb, nid, d_type == FT_DIR);
}
return d_splice_alias(inode, dentry);