Commit 8c416c9e authored by Chris Mason's avatar Chris Mason

Btrfs: Delete any remaining extent_maps before freeing the inode

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment