Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117472
b: refs/heads/master
c: 8966c5e
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse authored and Al Viro committed Oct 23, 2008
1 parent ce28746 commit de9f93a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c002a6c7977320f95b5edede5ce4e0eeecf291ff
refs/heads/master: 8966c5e0fc867f5a7da5756b4cd1b8bbbed3d5dd
4 changes: 1 addition & 3 deletions trunk/fs/jffs2/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ static struct dentry *jffs2_lookup(struct inode *dir_i, struct dentry *target,
}
}

d_add(target, inode);

return NULL;
return d_splice_alias(inode, target);
}

/***********************************************************************/
Expand Down

0 comments on commit de9f93a

Please sign in to comment.