summaryrefslogtreecommitdiff
path: root/fs/aufs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/aufs/super.c')
-rw-r--r--fs/aufs/super.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/aufs/super.c b/fs/aufs/super.c
index 8bd2d9ca4..58a773ccc 100644
--- a/fs/aufs/super.c
+++ b/fs/aufs/super.c
@@ -33,8 +33,7 @@ static void aufs_destroy_inode_cb(struct rcu_head *head)
{
struct inode *inode = container_of(head, struct inode, i_rcu);
- INIT_HLIST_HEAD(&inode->i_dentry);
- au_cache_free_icntnr(container_of(inode, struct au_icntnr, vfs_inode));
+ au_cache_dfree_icntnr(container_of(inode, struct au_icntnr, vfs_inode));
}
static void aufs_destroy_inode(struct inode *inode)
@@ -816,7 +815,7 @@ static int aufs_remount_fs(struct super_block *sb, int *flags, char *data)
out_mtx:
inode_unlock(inode);
out_opts:
- free_page((unsigned long)opts.opt);
+ au_delayed_free_page((unsigned long)opts.opt);
out:
err = cvt_err(err);
AuTraceErr(err);
@@ -957,7 +956,7 @@ out_info:
kobject_put(&sbinfo->si_kobj);
sb->s_fs_info = NULL;
out_opts:
- free_page((unsigned long)opts.opt);
+ au_delayed_free_page((unsigned long)opts.opt);
out:
AuTraceErr(err);
err = cvt_err(err);