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.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h
index 93c1910783fc..972b4a4a5f90 100644
--- a/fs/sysfs/sysfs.h
+++ b/fs/sysfs/sysfs.h
@@ -34,22 +34,9 @@ extern struct kmem_cache *sysfs_dir_cachep;
34/* 34/*
35 * dir.c 35 * dir.c
36 */ 36 */
37extern struct mutex sysfs_mutex;
38extern spinlock_t sysfs_symlink_target_lock; 37extern spinlock_t sysfs_symlink_target_lock;
39extern const struct dentry_operations sysfs_dentry_ops;
40 38
41extern const struct file_operations sysfs_dir_operations;
42extern const struct inode_operations sysfs_dir_inode_operations;
43
44struct sysfs_dirent *sysfs_get_active(struct sysfs_dirent *sd);
45void sysfs_put_active(struct sysfs_dirent *sd);
46void sysfs_addrm_start(struct sysfs_addrm_cxt *acxt);
47void sysfs_warn_dup(struct sysfs_dirent *parent, const char *name); 39void sysfs_warn_dup(struct sysfs_dirent *parent, const char *name);
48int sysfs_add_one(struct sysfs_addrm_cxt *acxt, struct sysfs_dirent *sd,
49 struct sysfs_dirent *parent_sd);
50void sysfs_addrm_finish(struct sysfs_addrm_cxt *acxt);
51
52struct sysfs_dirent *sysfs_new_dirent(const char *name, umode_t mode, int type);
53 40
54/* 41/*
55 * file.c 42 * file.c