convert ext3 to ->evict_inode()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -527,17 +527,6 @@ static void destroy_inodecache(void)
|
||||
kmem_cache_destroy(ext3_inode_cachep);
|
||||
}
|
||||
|
||||
static void ext3_clear_inode(struct inode *inode)
|
||||
{
|
||||
struct ext3_block_alloc_info *rsv = EXT3_I(inode)->i_block_alloc_info;
|
||||
|
||||
dquot_drop(inode);
|
||||
ext3_discard_reservation(inode);
|
||||
EXT3_I(inode)->i_block_alloc_info = NULL;
|
||||
if (unlikely(rsv))
|
||||
kfree(rsv);
|
||||
}
|
||||
|
||||
static inline void ext3_show_quota_options(struct seq_file *seq, struct super_block *sb)
|
||||
{
|
||||
#if defined(CONFIG_QUOTA)
|
||||
@@ -783,14 +772,13 @@ static const struct super_operations ext3_sops = {
|
||||
.destroy_inode = ext3_destroy_inode,
|
||||
.write_inode = ext3_write_inode,
|
||||
.dirty_inode = ext3_dirty_inode,
|
||||
.delete_inode = ext3_delete_inode,
|
||||
.evict_inode = ext3_evict_inode,
|
||||
.put_super = ext3_put_super,
|
||||
.sync_fs = ext3_sync_fs,
|
||||
.freeze_fs = ext3_freeze,
|
||||
.unfreeze_fs = ext3_unfreeze,
|
||||
.statfs = ext3_statfs,
|
||||
.remount_fs = ext3_remount,
|
||||
.clear_inode = ext3_clear_inode,
|
||||
.show_options = ext3_show_options,
|
||||
#ifdef CONFIG_QUOTA
|
||||
.quota_read = ext3_quota_read,
|
||||
|
Reference in New Issue
Block a user