diff options
author | Tejun Heo <htejun@gmail.com> | 2007-06-13 15:27:24 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-11 19:09:09 -0400 |
commit | a0edd7c848945a75e2f41673f43bc37d0a5fed15 (patch) | |
tree | c74ea7d7dbc814faef126f97601a16c7118b3099 /fs/sysfs/sysfs.h | |
parent | fb6896da37f19be4b75154c14d1cd79231255b17 (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.h | 1 |
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); |
91 | extern void sysfs_remove_subdir(struct sysfs_dirent *sd); | 91 | extern void sysfs_remove_subdir(struct sysfs_dirent *sd); |
92 | 92 | ||
93 | extern void sysfs_drop_dentry(struct sysfs_dirent *sd); | ||
94 | extern int sysfs_setattr(struct dentry *dentry, struct iattr *iattr); | 93 | extern int sysfs_setattr(struct dentry *dentry, struct iattr *iattr); |
95 | 94 | ||
96 | extern spinlock_t sysfs_assoc_lock; | 95 | extern spinlock_t sysfs_assoc_lock; |