diff options
Diffstat (limited to 'fs/hppfs/hppfs.c')
| -rw-r--r-- | fs/hppfs/hppfs.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/hppfs/hppfs.c b/fs/hppfs/hppfs.c index 943ce751ce19..7b027720d820 100644 --- a/fs/hppfs/hppfs.c +++ b/fs/hppfs/hppfs.c | |||
| @@ -624,12 +624,11 @@ static struct inode *hppfs_alloc_inode(struct super_block *sb) | |||
| 624 | return &hi->vfs_inode; | 624 | return &hi->vfs_inode; |
| 625 | } | 625 | } |
| 626 | 626 | ||
| 627 | void hppfs_delete_inode(struct inode *ino) | 627 | void hppfs_evict_inode(struct inode *ino) |
| 628 | { | 628 | { |
| 629 | end_writeback(ino); | ||
| 629 | dput(HPPFS_I(ino)->proc_dentry); | 630 | dput(HPPFS_I(ino)->proc_dentry); |
| 630 | mntput(ino->i_sb->s_fs_info); | 631 | mntput(ino->i_sb->s_fs_info); |
| 631 | |||
| 632 | clear_inode(ino); | ||
| 633 | } | 632 | } |
| 634 | 633 | ||
| 635 | static void hppfs_destroy_inode(struct inode *inode) | 634 | static void hppfs_destroy_inode(struct inode *inode) |
| @@ -640,7 +639,7 @@ static void hppfs_destroy_inode(struct inode *inode) | |||
| 640 | static const struct super_operations hppfs_sbops = { | 639 | static const struct super_operations hppfs_sbops = { |
| 641 | .alloc_inode = hppfs_alloc_inode, | 640 | .alloc_inode = hppfs_alloc_inode, |
| 642 | .destroy_inode = hppfs_destroy_inode, | 641 | .destroy_inode = hppfs_destroy_inode, |
| 643 | .delete_inode = hppfs_delete_inode, | 642 | .evict_inode = hppfs_evict_inode, |
| 644 | .statfs = hppfs_statfs, | 643 | .statfs = hppfs_statfs, |
| 645 | }; | 644 | }; |
| 646 | 645 | ||
