[PATCH 6.1 184/228] btrfs: check if the transaction was aborted at btrfs_wait_for_commit()