提交 8c416c9e 编写于 作者: C Chris Mason

Btrfs: Delete any remaining extent_maps before freeing the inode

Signed-off-by: NChris Mason <chris.mason@oracle.com>
上级 b99aa6cb
......@@ -2601,6 +2601,7 @@ void btrfs_destroy_inode(struct inode *inode)
WARN_ON(!list_empty(&inode->i_dentry));
WARN_ON(inode->i_data.nrpages);
btrfs_drop_extent_cache(inode, 0, (u64)-1);
kmem_cache_free(btrfs_inode_cachep, BTRFS_I(inode));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册