diff options
Diffstat (limited to 'fs/reiserfs')
-rw-r--r-- | fs/reiserfs/namei.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/reiserfs/namei.c b/fs/reiserfs/namei.c index 3549067c42d9..8f8d8d01107c 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, | |||
375 | return ERR_PTR(-EIO); | 375 | return ERR_PTR(-EIO); |
376 | } | 376 | } |
377 | 377 | ||
378 | if (inode) | 378 | return d_splice_alias(inode, dentry); |
379 | return d_splice_alias(inode, dentry); | ||
380 | |||
381 | d_add(dentry, inode); | ||
382 | return NULL; | ||
383 | } | 379 | } |
384 | 380 | ||
385 | /* | 381 | /* |