71dd2870bf
Fix the time of check time of use warning in example code.
Ignore the errno of unlink failure. There are two situations.
The first one is that file doesn't exist the unlink fails and
it's ok to ignore. The second one is that unlink fails to remove
file but the next bind() would fail too.
Coverity issue: 350589, 158663
Fixes:
|
||
---|---|---|
.. | ||
blk_spec.h | ||
blk.c | ||
Makefile | ||
meson.build | ||
vhost_blk_compat.c | ||
vhost_blk.c | ||
vhost_blk.h |