[PATCH 4.19 041/425] btrfs: convert logic BUG_ON()s in replace_path to ASSERT()s