On Tue, Jun 23, 2020 at 05:40:07PM +0900, Johannes Thumshirn wrote: > In btrfs_put_root() we're freeing a btrfs_root's 'node' and 'commit_root' > extent buffers manually via kfree(), while we're using > free_root_extent_buffers() in the free_root_pointers() function above. > > free_root_extent_buffers() also NULLs the pointers after freeing, which > mitigates potential double frees. > > Signed-off-by: Johannes Thumshirn <johannes.thumshirn@xxxxxxx> Added to misc-next, thanks.
