Loading fs/hostfs/hostfs_kern.c +2 −6 Original line number Diff line number Diff line Loading @@ -637,12 +637,8 @@ static struct dentry *hostfs_lookup(struct inode *ino, struct dentry *dentry, inode = hostfs_iget(ino->i_sb, name); __putname(name); if (IS_ERR(inode)) { if (PTR_ERR(inode) == -ENOENT) if (inode == ERR_PTR(-ENOENT)) inode = NULL; else return ERR_CAST(inode); } return d_splice_alias(inode, dentry); } Loading Loading
fs/hostfs/hostfs_kern.c +2 −6 Original line number Diff line number Diff line Loading @@ -637,12 +637,8 @@ static struct dentry *hostfs_lookup(struct inode *ino, struct dentry *dentry, inode = hostfs_iget(ino->i_sb, name); __putname(name); if (IS_ERR(inode)) { if (PTR_ERR(inode) == -ENOENT) if (inode == ERR_PTR(-ENOENT)) inode = NULL; else return ERR_CAST(inode); } return d_splice_alias(inode, dentry); } Loading