mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
erofs: use %pd instead of messing with ->d_name
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user