[PATCH 5.4 010/135] btrfs: handle logged extent failure properly