Commit 33b0daaa authored by Al Viro's avatar Al Viro

switch hppfs to ->evict_inode()

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent f8ad850f
...@@ -624,12 +624,11 @@ static struct inode *hppfs_alloc_inode(struct super_block *sb) ...@@ -624,12 +624,11 @@ static struct inode *hppfs_alloc_inode(struct super_block *sb)
return &hi->vfs_inode; return &hi->vfs_inode;
} }
void hppfs_delete_inode(struct inode *ino) void hppfs_evict_inode(struct inode *ino)
{ {
end_writeback(ino);
dput(HPPFS_I(ino)->proc_dentry); dput(HPPFS_I(ino)->proc_dentry);
mntput(ino->i_sb->s_fs_info); mntput(ino->i_sb->s_fs_info);
clear_inode(ino);
} }
static void hppfs_destroy_inode(struct inode *inode) static void hppfs_destroy_inode(struct inode *inode)
...@@ -640,7 +639,7 @@ static void hppfs_destroy_inode(struct inode *inode) ...@@ -640,7 +639,7 @@ static void hppfs_destroy_inode(struct inode *inode)
static const struct super_operations hppfs_sbops = { static const struct super_operations hppfs_sbops = {
.alloc_inode = hppfs_alloc_inode, .alloc_inode = hppfs_alloc_inode,
.destroy_inode = hppfs_destroy_inode, .destroy_inode = hppfs_destroy_inode,
.delete_inode = hppfs_delete_inode, .evict_inode = hppfs_evict_inode,
.statfs = hppfs_statfs, .statfs = hppfs_statfs,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment