Skip to content

Commit

Permalink
Use BATT_CHECK_OK for done_status (ioring_log_driver.ipp).
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyastolfi committed Feb 29, 2024
1 parent 8bf2134 commit 11c9552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llfs/ioring_log_driver.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ inline void BasicIoRingLogDriver<FlushOpImpl>::flush_task_main()
}};

auto done_status = done.await_equal(true);
BATT_CHECK(done_status.ok());
BATT_CHECK_OK(done_status);
io_thread.join();

return OkStatus();
Expand Down

0 comments on commit 11c9552

Please sign in to comment.