diff options
Diffstat (limited to 'fs/sysfs/dir.c')
-rw-r--r-- | fs/sysfs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c index e0201837d244..01a9a64ecd4e 100644 --- a/fs/sysfs/dir.c +++ b/fs/sysfs/dir.c | |||
@@ -298,7 +298,7 @@ void release_sysfs_dirent(struct sysfs_dirent * sd) | |||
298 | goto repeat; | 298 | goto repeat; |
299 | } | 299 | } |
300 | 300 | ||
301 | static void sysfs_d_iput(struct dentry * dentry, struct inode * inode) | 301 | static void sysfs_dentry_iput(struct dentry *dentry, struct inode *inode) |
302 | { | 302 | { |
303 | struct sysfs_dirent * sd = dentry->d_fsdata; | 303 | struct sysfs_dirent * sd = dentry->d_fsdata; |
304 | 304 | ||
@@ -307,7 +307,7 @@ static void sysfs_d_iput(struct dentry * dentry, struct inode * inode) | |||
307 | } | 307 | } |
308 | 308 | ||
309 | static const struct dentry_operations sysfs_dentry_ops = { | 309 | static const struct dentry_operations sysfs_dentry_ops = { |
310 | .d_iput = sysfs_d_iput, | 310 | .d_iput = sysfs_dentry_iput, |
311 | }; | 311 | }; |
312 | 312 | ||
313 | struct sysfs_dirent *sysfs_new_dirent(const char *name, umode_t mode, int type) | 313 | struct sysfs_dirent *sysfs_new_dirent(const char *name, umode_t mode, int type) |