diff options
Diffstat (limited to 'fs/sysfs/sysfs.h')
-rw-r--r-- | fs/sysfs/sysfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h index a77c57e5a6d5..502c949c402d 100644 --- a/fs/sysfs/sysfs.h +++ b/fs/sysfs/sysfs.h | |||
@@ -5,6 +5,7 @@ struct sysfs_dirent { | |||
5 | void * s_element; | 5 | void * s_element; |
6 | int s_type; | 6 | int s_type; |
7 | umode_t s_mode; | 7 | umode_t s_mode; |
8 | ino_t s_ino; | ||
8 | struct dentry * s_dentry; | 9 | struct dentry * s_dentry; |
9 | struct iattr * s_iattr; | 10 | struct iattr * s_iattr; |
10 | atomic_t s_event; | 11 | atomic_t s_event; |
@@ -32,6 +33,7 @@ extern const unsigned char * sysfs_get_name(struct sysfs_dirent *sd); | |||
32 | extern void sysfs_drop_dentry(struct sysfs_dirent *sd, struct dentry *parent); | 33 | extern void sysfs_drop_dentry(struct sysfs_dirent *sd, struct dentry *parent); |
33 | extern int sysfs_setattr(struct dentry *dentry, struct iattr *iattr); | 34 | extern int sysfs_setattr(struct dentry *dentry, struct iattr *iattr); |
34 | 35 | ||
36 | extern spinlock_t sysfs_lock; | ||
35 | extern struct rw_semaphore sysfs_rename_sem; | 37 | extern struct rw_semaphore sysfs_rename_sem; |
36 | extern struct super_block * sysfs_sb; | 38 | extern struct super_block * sysfs_sb; |
37 | extern const struct file_operations sysfs_dir_operations; | 39 | extern const struct file_operations sysfs_dir_operations; |