diff --git a/fs/reiserfs/namei.c b/fs/reiserfs/namei.c
index 3549067c42d941546f4fa12ad266612a9f9f4413..8f8d8d01107c880975c4d2d2de465be7a3041018 100644
--- a/fs/reiserfs/namei.c
+++ b/fs/reiserfs/namei.c
@@ -375,11 +375,7 @@ static struct dentry *reiserfs_lookup(struct inode *dir, struct dentry *dentry,
 		return ERR_PTR(-EIO);
 	}
 
-	if (inode)
-		return d_splice_alias(inode, dentry);
-
-	d_add(dentry, inode);
-	return NULL;
+	return d_splice_alias(inode, dentry);
 }
 
 /*