mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00:00
convert remaining ->clear_inode() to ->evict_inode()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
45321ac543
commit
b57922d97f
34 changed files with 94 additions and 59 deletions
|
@ -502,8 +502,9 @@ static struct inode *bm_get_inode(struct super_block *sb, int mode)
|
|||
return inode;
|
||||
}
|
||||
|
||||
static void bm_clear_inode(struct inode *inode)
|
||||
static void bm_evict_inode(struct inode *inode)
|
||||
{
|
||||
end_writeback(inode);
|
||||
kfree(inode->i_private);
|
||||
}
|
||||
|
||||
|
@ -685,7 +686,7 @@ static const struct file_operations bm_status_operations = {
|
|||
|
||||
static const struct super_operations s_ops = {
|
||||
.statfs = simple_statfs,
|
||||
.clear_inode = bm_clear_inode,
|
||||
.evict_inode = bm_evict_inode,
|
||||
};
|
||||
|
||||
static int bm_fill_super(struct super_block * sb, void * data, int silent)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue