diff options
Diffstat (limited to 'fs/hppfs/hppfs.c')
| -rw-r--r-- | fs/hppfs/hppfs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/hppfs/hppfs.c b/fs/hppfs/hppfs.c index 826c3f9d29ac..7b027720d820 100644 --- a/fs/hppfs/hppfs.c +++ b/fs/hppfs/hppfs.c | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
| 16 | #include <linux/statfs.h> | 16 | #include <linux/statfs.h> |
| 17 | #include <linux/types.h> | 17 | #include <linux/types.h> |
| 18 | #include <linux/pid_namespace.h> | ||
| 18 | #include <asm/uaccess.h> | 19 | #include <asm/uaccess.h> |
| 19 | #include "os.h" | 20 | #include "os.h" |
| 20 | 21 | ||
| @@ -623,12 +624,11 @@ static struct inode *hppfs_alloc_inode(struct super_block *sb) | |||
| 623 | return &hi->vfs_inode; | 624 | return &hi->vfs_inode; |
| 624 | } | 625 | } |
| 625 | 626 | ||
| 626 | void hppfs_delete_inode(struct inode *ino) | 627 | void hppfs_evict_inode(struct inode *ino) |
| 627 | { | 628 | { |
| 629 | end_writeback(ino); | ||
| 628 | dput(HPPFS_I(ino)->proc_dentry); | 630 | dput(HPPFS_I(ino)->proc_dentry); |
| 629 | mntput(ino->i_sb->s_fs_info); | 631 | mntput(ino->i_sb->s_fs_info); |
| 630 | |||
| 631 | clear_inode(ino); | ||
| 632 | } | 632 | } |
| 633 | 633 | ||
| 634 | static void hppfs_destroy_inode(struct inode *inode) | 634 | static void hppfs_destroy_inode(struct inode *inode) |
| @@ -639,7 +639,7 @@ static void hppfs_destroy_inode(struct inode *inode) | |||
| 639 | static const struct super_operations hppfs_sbops = { | 639 | static const struct super_operations hppfs_sbops = { |
| 640 | .alloc_inode = hppfs_alloc_inode, | 640 | .alloc_inode = hppfs_alloc_inode, |
| 641 | .destroy_inode = hppfs_destroy_inode, | 641 | .destroy_inode = hppfs_destroy_inode, |
| 642 | .delete_inode = hppfs_delete_inode, | 642 | .evict_inode = hppfs_evict_inode, |
| 643 | .statfs = hppfs_statfs, | 643 | .statfs = hppfs_statfs, |
| 644 | }; | 644 | }; |
| 645 | 645 | ||
