aboutsummaryrefslogtreecommitdiffstats
path: root/fs/sysfs/sysfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/sysfs/sysfs.h')
-rw-r--r--fs/sysfs/sysfs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h
index 8b09e9d882c2..9fa77d648aa5 100644
--- a/fs/sysfs/sysfs.h
+++ b/fs/sysfs/sysfs.h
@@ -58,7 +58,8 @@ extern struct kmem_cache *sysfs_dir_cachep;
58 58
59extern void sysfs_delete_inode(struct inode *inode); 59extern void sysfs_delete_inode(struct inode *inode);
60extern struct inode * sysfs_new_inode(mode_t mode, struct sysfs_dirent *); 60extern struct inode * sysfs_new_inode(mode_t mode, struct sysfs_dirent *);
61extern int sysfs_create(struct dentry *, int mode, int (*init)(struct inode *)); 61extern int sysfs_create(struct sysfs_dirent *sd, struct dentry *dentry,
62 int mode, int (*init)(struct inode *));
62 63
63extern void release_sysfs_dirent(struct sysfs_dirent * sd); 64extern void release_sysfs_dirent(struct sysfs_dirent * sd);
64extern int sysfs_dirent_exist(struct sysfs_dirent *, const unsigned char *); 65extern int sysfs_dirent_exist(struct sysfs_dirent *, const unsigned char *);