Skip to content

Commit

Permalink
switch hypfs to ->evict_inode()
Browse files Browse the repository at this point in the history
... and since we never hash its inodes, default
->drop_inode() will work just fine.

Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Aug 9, 2010
1 parent b0683aa commit b69257f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/s390/hypfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ static struct inode *hypfs_make_inode(struct super_block *sb, int mode)
return ret;
}

static void hypfs_drop_inode(struct inode *inode)
static void hypfs_evict_inode(struct inode *inode)
{
end_writeback(inode);
kfree(inode->i_private);
generic_delete_inode(inode);
}

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

static const struct super_operations hypfs_s_ops = {
.statfs = simple_statfs,
.drop_inode = hypfs_drop_inode,
.evict_inode = hypfs_evict_inode,
.show_options = hypfs_show_options,
};

Expand Down

0 comments on commit b69257f

Please sign in to comment.