aboutsummaryrefslogtreecommitdiffstats
path: root/fs/sysfs/dir.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2007-08-20 08:36:29 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 17:51:07 -0400
commit119dd52be33dfe6285f586ab7354897fdefc7e23 (patch)
treef7422f753f3605401d4ee0a34b85fb7a0038fbf3 /fs/sysfs/dir.c
parent372e88bd1922228e0a55228f6dc8e311d1696fa0 (diff)
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>
Diffstat (limited to 'fs/sysfs/dir.c')
-rw-r--r--fs/sysfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c
index 5a70a93fc2f..739dda176b4 100644
--- a/fs/sysfs/dir.c
+++ b/fs/sysfs/dir.c
@@ -773,7 +773,7 @@ static struct dentry * sysfs_lookup(struct inode *dir, struct dentry *dentry,
773 goto out_unlock; 773 goto out_unlock;
774 } 774 }
775 775
776 sysfs_instantiate(dentry, inode); 776 d_instantiate(dentry, inode);
777 sysfs_attach_dentry(sd, dentry); 777 sysfs_attach_dentry(sd, dentry);
778 778
779 out_unlock: 779 out_unlock: