Btrfs: fix deadlock with freeze and sync V2