diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-01-05 23:03:16 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-01-06 19:39:37 -0500 |
commit | 181b150f1565ac253ec5313fea76ba5d0c4bddf7 (patch) | |
tree | 4663189bbc884fe15b0b060d35ff3e20afd6ce1d /fs/erofs/namei.c | |
parent | aa7d5c7e307a0b4f77e8edc682dc60d55a4d5555 (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/namei.c')
-rw-r--r-- | fs/erofs/namei.c | 4 |
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); |