Commit b69257f2502e046beac7b9a3086fda552eb4d7e9
1 parent
b0683aa638
switch hypfs to ->evict_inode()
... and since we never hash its inodes, default ->drop_inode() will work just fine. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
arch/s390/hypfs/inode.c
... | ... | @@ -117,10 +117,10 @@ |
117 | 117 | return ret; |
118 | 118 | } |
119 | 119 | |
120 | -static void hypfs_drop_inode(struct inode *inode) | |
120 | +static void hypfs_evict_inode(struct inode *inode) | |
121 | 121 | { |
122 | + end_writeback(inode); | |
122 | 123 | kfree(inode->i_private); |
123 | - generic_delete_inode(inode); | |
124 | 124 | } |
125 | 125 | |
126 | 126 | static int hypfs_open(struct inode *inode, struct file *filp) |
... | ... | @@ -460,7 +460,7 @@ |
460 | 460 | |
461 | 461 | static const struct super_operations hypfs_s_ops = { |
462 | 462 | .statfs = simple_statfs, |
463 | - .drop_inode = hypfs_drop_inode, | |
463 | + .evict_inode = hypfs_evict_inode, | |
464 | 464 | .show_options = hypfs_show_options, |
465 | 465 | }; |
466 | 466 |