From: Al Viro Date: Wed, 6 Jan 2021 04:03:16 +0000 (-0500) Subject: erofs: use %pd instead of messing with ->d_name X-Git-Tag: v5.12-rc1~91^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=181b150f1565ac253ec5313fea76ba5d0c4bddf7;p=thirdparty%2Fkernel%2Flinux.git erofs: use %pd instead of messing with ->d_name Signed-off-by: Al Viro --- diff --git a/fs/erofs/namei.c b/fs/erofs/namei.c index 5f8cc7346c694..3a81e1f7fc067 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);