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.h10
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 */
122struct sysfs_addrm_cxt { 122struct 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;
154struct dentry *sysfs_get_dentry(struct sysfs_dirent *sd); 153struct dentry *sysfs_get_dentry(struct sysfs_dirent *sd);
155struct sysfs_dirent *sysfs_get_active(struct sysfs_dirent *sd); 154struct sysfs_dirent *sysfs_get_active(struct sysfs_dirent *sd);
156void sysfs_put_active(struct sysfs_dirent *sd); 155void sysfs_put_active(struct sysfs_dirent *sd);
157void sysfs_addrm_start(struct sysfs_addrm_cxt *acxt, 156void sysfs_addrm_start(struct sysfs_addrm_cxt *acxt);
158 struct sysfs_dirent *parent_sd); 157int __sysfs_add_one(struct sysfs_addrm_cxt *acxt, struct sysfs_dirent *sd,
159int __sysfs_add_one(struct sysfs_addrm_cxt *acxt, struct sysfs_dirent *sd); 158 struct sysfs_dirent *parent_sd);
160int sysfs_add_one(struct sysfs_addrm_cxt *acxt, struct sysfs_dirent *sd); 159int sysfs_add_one(struct sysfs_addrm_cxt *acxt, struct sysfs_dirent *sd,
160 struct sysfs_dirent *parent_sd);
161void sysfs_remove_one(struct sysfs_addrm_cxt *acxt, struct sysfs_dirent *sd); 161void sysfs_remove_one(struct sysfs_addrm_cxt *acxt, struct sysfs_dirent *sd);
162void sysfs_addrm_finish(struct sysfs_addrm_cxt *acxt); 162void sysfs_addrm_finish(struct sysfs_addrm_cxt *acxt);
163 163