diff options
Diffstat (limited to 'fs/sysfs/inode.c')
-rw-r--r-- | fs/sysfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/inode.c b/fs/sysfs/inode.c index feb2d69396cf..b8ce6a98933f 100644 --- a/fs/sysfs/inode.c +++ b/fs/sysfs/inode.c | |||
@@ -310,7 +310,7 @@ void sysfs_evict_inode(struct inode *inode) | |||
310 | struct sysfs_dirent *sd = inode->i_private; | 310 | struct sysfs_dirent *sd = inode->i_private; |
311 | 311 | ||
312 | truncate_inode_pages(&inode->i_data, 0); | 312 | truncate_inode_pages(&inode->i_data, 0); |
313 | end_writeback(inode); | 313 | clear_inode(inode); |
314 | sysfs_put(sd); | 314 | sysfs_put(sd); |
315 | } | 315 | } |
316 | 316 | ||