Skip to content

Commit b69257f

Browse files
author
Al Viro
committed
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>
1 parent b0683aa commit b69257f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎arch/s390/hypfs/inode.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ static struct inode *hypfs_make_inode(struct super_block *sb, int mode)
117117
return ret;
118118
}
119119

120-
static void hypfs_drop_inode(struct inode *inode)
120+
static void hypfs_evict_inode(struct inode *inode)
121121
{
122+
end_writeback(inode);
122123
kfree(inode->i_private);
123-
generic_delete_inode(inode);
124124
}
125125

126126
static int hypfs_open(struct inode *inode, struct file *filp)
@@ -460,7 +460,7 @@ static struct file_system_type hypfs_type = {
460460

461461
static const struct super_operations hypfs_s_ops = {
462462
.statfs = simple_statfs,
463-
.drop_inode = hypfs_drop_inode,
463+
.evict_inode = hypfs_evict_inode,
464464
.show_options = hypfs_show_options,
465465
};
466466

0 commit comments

Comments
 (0)