diff options
Diffstat (limited to 'fs/sysfs/dir.c')
-rw-r--r-- | fs/sysfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c index 5a70a93fc2f7..739dda176b43 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: |