Change return type of td_io_commit() into void