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.h2
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);
32extern void sysfs_drop_dentry(struct sysfs_dirent *sd, struct dentry *parent); 33extern void sysfs_drop_dentry(struct sysfs_dirent *sd, struct dentry *parent);
33extern int sysfs_setattr(struct dentry *dentry, struct iattr *iattr); 34extern int sysfs_setattr(struct dentry *dentry, struct iattr *iattr);
34 35
36extern spinlock_t sysfs_lock;
35extern struct rw_semaphore sysfs_rename_sem; 37extern struct rw_semaphore sysfs_rename_sem;
36extern struct super_block * sysfs_sb; 38extern struct super_block * sysfs_sb;
37extern const struct file_operations sysfs_dir_operations; 39extern const struct file_operations sysfs_dir_operations;