diff options
Diffstat (limited to 'fs/sysfs/sysfs.h')
-rw-r--r-- | fs/sysfs/sysfs.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h index 6b8c8d76d308..b55e510ea239 100644 --- a/fs/sysfs/sysfs.h +++ b/fs/sysfs/sysfs.h | |||
@@ -70,7 +70,6 @@ extern void sysfs_remove_one(struct sysfs_addrm_cxt *acxt, | |||
70 | struct sysfs_dirent *sd); | 70 | struct sysfs_dirent *sd); |
71 | extern int sysfs_addrm_finish(struct sysfs_addrm_cxt *acxt); | 71 | extern int sysfs_addrm_finish(struct sysfs_addrm_cxt *acxt); |
72 | 72 | ||
73 | extern void sysfs_delete_inode(struct inode *inode); | ||
74 | extern struct inode * sysfs_get_inode(struct sysfs_dirent *sd); | 73 | extern struct inode * sysfs_get_inode(struct sysfs_dirent *sd); |
75 | extern void sysfs_instantiate(struct dentry *dentry, struct inode *inode); | 74 | extern void sysfs_instantiate(struct dentry *dentry, struct inode *inode); |
76 | 75 | ||
@@ -121,8 +120,3 @@ static inline void sysfs_put(struct sysfs_dirent * sd) | |||
121 | if (sd && atomic_dec_and_test(&sd->s_count)) | 120 | if (sd && atomic_dec_and_test(&sd->s_count)) |
122 | release_sysfs_dirent(sd); | 121 | release_sysfs_dirent(sd); |
123 | } | 122 | } |
124 | |||
125 | static inline int sysfs_is_shadowed_inode(struct inode *inode) | ||
126 | { | ||
127 | return S_ISDIR(inode->i_mode) && inode->i_op->follow_link; | ||
128 | } | ||