aboutsummaryrefslogtreecommitdiffstats
path: root/fs/sysfs/sysfs.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-06-13 15:27:24 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-11 19:09:09 -0400
commita0edd7c848945a75e2f41673f43bc37d0a5fed15 (patch)
treec74ea7d7dbc814faef126f97601a16c7118b3099 /fs/sysfs/sysfs.h
parentfb6896da37f19be4b75154c14d1cd79231255b17 (diff)
sysfs: move sysfs_drop_dentry() to dir.c and make it static
After add/remove path restructuring, the only user of sysfs_drop_dentry() is sysfs_addrm_finish(). Move sysfs_drop_dentry() to dir.c and make it static. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs/sysfs.h')
-rw-r--r--fs/sysfs/sysfs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h
index 3e9a5ee38233..92fe1e51a29b 100644
--- a/fs/sysfs/sysfs.h
+++ b/fs/sysfs/sysfs.h
@@ -90,7 +90,6 @@ extern int sysfs_create_subdir(struct kobject *kobj, const char *name,
90 struct sysfs_dirent **p_sd); 90 struct sysfs_dirent **p_sd);
91extern void sysfs_remove_subdir(struct sysfs_dirent *sd); 91extern void sysfs_remove_subdir(struct sysfs_dirent *sd);
92 92
93extern void sysfs_drop_dentry(struct sysfs_dirent *sd);
94extern int sysfs_setattr(struct dentry *dentry, struct iattr *iattr); 93extern int sysfs_setattr(struct dentry *dentry, struct iattr *iattr);
95 94
96extern spinlock_t sysfs_assoc_lock; 95extern spinlock_t sysfs_assoc_lock;