summaryrefslogtreecommitdiffstats
path: root/fs/erofs
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-02-22 22:03:30 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2021-02-22 22:03:30 +0100
commit205f92d7f2106fb248d65d2abce943ed6002598f (patch)
treead0269ec8a307f10be0d177e762bfd2cfadd472d /fs/erofs
parentMerge tag 'memblock-v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
parentorangefs_file_mmap(): use %pD (diff)
downloadlinux-205f92d7f2106fb248d65d2abce943ed6002598f.tar.xz
linux-205f92d7f2106fb248d65d2abce943ed6002598f.zip
Merge branch 'work.d_name' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull d_name whack-a-mole from Al Viro: "A bunch of places that play with ->d_name in printks instead of using proper formats..." * 'work.d_name' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: orangefs_file_mmap(): use %pD cifs_debug: use %pd instead of messing with ->d_name erofs: use %pd instead of messing with ->d_name cramfs: use %pD instead of messing with file_dentry()->d_name
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);