diff options
Diffstat (limited to 'fs/sysfs/sysfs.h')
-rw-r--r-- | fs/sysfs/sysfs.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h index ee44fde199d0..4d1154411cdb 100644 --- a/fs/sysfs/sysfs.h +++ b/fs/sysfs/sysfs.h | |||
@@ -120,7 +120,6 @@ do { \ | |||
120 | * Context structure to be used while adding/removing nodes. | 120 | * Context structure to be used while adding/removing nodes. |
121 | */ | 121 | */ |
122 | struct sysfs_addrm_cxt { | 122 | struct sysfs_addrm_cxt { |
123 | struct sysfs_dirent *parent_sd; | ||
124 | struct sysfs_dirent *removed; | 123 | struct sysfs_dirent *removed; |
125 | }; | 124 | }; |
126 | 125 | ||
@@ -154,10 +153,11 @@ extern const struct inode_operations sysfs_dir_inode_operations; | |||
154 | struct dentry *sysfs_get_dentry(struct sysfs_dirent *sd); | 153 | struct dentry *sysfs_get_dentry(struct sysfs_dirent *sd); |
155 | struct sysfs_dirent *sysfs_get_active(struct sysfs_dirent *sd); | 154 | struct sysfs_dirent *sysfs_get_active(struct sysfs_dirent *sd); |
156 | void sysfs_put_active(struct sysfs_dirent *sd); | 155 | void sysfs_put_active(struct sysfs_dirent *sd); |
157 | void sysfs_addrm_start(struct sysfs_addrm_cxt *acxt, | 156 | void sysfs_addrm_start(struct sysfs_addrm_cxt *acxt); |
158 | struct sysfs_dirent *parent_sd); | 157 | int __sysfs_add_one(struct sysfs_addrm_cxt *acxt, struct sysfs_dirent *sd, |
159 | int __sysfs_add_one(struct sysfs_addrm_cxt *acxt, struct sysfs_dirent *sd); | 158 | struct sysfs_dirent *parent_sd); |
160 | int sysfs_add_one(struct sysfs_addrm_cxt *acxt, struct sysfs_dirent *sd); | 159 | int sysfs_add_one(struct sysfs_addrm_cxt *acxt, struct sysfs_dirent *sd, |
160 | struct sysfs_dirent *parent_sd); | ||
161 | void sysfs_remove_one(struct sysfs_addrm_cxt *acxt, struct sysfs_dirent *sd); | 161 | void sysfs_remove_one(struct sysfs_addrm_cxt *acxt, struct sysfs_dirent *sd); |
162 | void sysfs_addrm_finish(struct sysfs_addrm_cxt *acxt); | 162 | void sysfs_addrm_finish(struct sysfs_addrm_cxt *acxt); |
163 | 163 | ||