commit | 2d8a10cd1760e7ecc07a21e409485947c68a3291 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Mon Aug 11 11:33:57 2008 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Aug 25 01:18:04 2008 -0400 |
tree | d5fcaac5b05ae344c6250c42ae7ec34114f64ffb | |
parent | cc996099174dc05b35b7a29301026987990e7f8c [diff] [blame] |
[PATCH] fix efs_lookup() it needs to use d_splice_alias(), not d_add() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/efs/namei.c b/fs/efs/namei.c index 3a404e7..291abb1 100644 --- a/fs/efs/namei.c +++ b/fs/efs/namei.c
@@ -74,8 +74,7 @@ } unlock_kernel(); - d_add(dentry, inode); - return NULL; + return d_splice_alias(inode, dentry); } static struct inode *efs_nfs_get_inode(struct super_block *sb, u64 ino,