summaryrefslogtreecommitdiffstats
path: root/fs/sysfs/sysfs.h
diff options
context:
space:
mode:
authorEric W. Biederman2007-08-20 14:36:29 +0200
committerGreg Kroah-Hartman2007-10-12 23:51:07 +0200
commit119dd52be33dfe6285f586ab7354897fdefc7e23 (patch)
treef7422f753f3605401d4ee0a34b85fb7a0038fbf3 /fs/sysfs/sysfs.h
parentsysfs: Move all of inode initialization into sysfs_init_inode (diff)
downloadkernel-qcow2-linux-119dd52be33dfe6285f586ab7354897fdefc7e23.tar.gz
kernel-qcow2-linux-119dd52be33dfe6285f586ab7354897fdefc7e23.tar.xz
kernel-qcow2-linux-119dd52be33dfe6285f586ab7354897fdefc7e23.zip
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/sysfs.h')
-rw-r--r--fs/sysfs/sysfs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h
index 043675471031..8a0aea1ab86d 100644
--- a/fs/sysfs/sysfs.h
+++ b/fs/sysfs/sysfs.h
@@ -69,7 +69,6 @@ extern void sysfs_remove_one(struct sysfs_addrm_cxt *acxt,
extern void sysfs_addrm_finish(struct sysfs_addrm_cxt *acxt);
extern struct inode * sysfs_get_inode(struct sysfs_dirent *sd);
-extern void sysfs_instantiate(struct dentry *dentry, struct inode *inode);
extern void release_sysfs_dirent(struct sysfs_dirent * sd);
extern struct sysfs_dirent *sysfs_find_dirent(struct sysfs_dirent *parent_sd,