mirror of
https://github.com/schoebel/mars
synced 2024-12-26 08:32:24 +00:00
lib_log: safeguard barrier
This commit is contained in:
parent
0e654cef63
commit
8050499e39
@ -490,6 +490,7 @@ bool log_finalize(struct log_status *logst, int len, void (*endio)(void *private
|
||||
* the time of starting the transfer.
|
||||
*/
|
||||
offset = logst->validflag_offset;
|
||||
barrier();
|
||||
DATA_PUT(data, offset, (char)1);
|
||||
|
||||
nr_cb = cb_info->nr_cb++;
|
||||
|
Loading…
Reference in New Issue
Block a user