sysfs: Remove sysfs_instantiate

Now that sysfs_get_inode is dropping the inode lock
we no longer have a need from sysfs_instantiate.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Eric W. Biederman
2007-08-20 21:36:29 +09:00
committed by Greg Kroah-Hartman
parent 372e88bd19
commit 119dd52be3
3 changed files with 1 additions and 19 deletions

View File

@@ -773,7 +773,7 @@ static struct dentry * sysfs_lookup(struct inode *dir, struct dentry *dentry,
goto out_unlock;
}
sysfs_instantiate(dentry, inode);
d_instantiate(dentry, inode);
sysfs_attach_dentry(sd, dentry);
out_unlock: