Btrfs: release both paths before logging dir/changed extents