1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

cov: ignore close result

This commit is contained in:
Zdenek Kabelac 2021-10-15 14:42:34 +02:00
parent 6668d6409a
commit e7b5f490c5

View File

@ -86,7 +86,7 @@ static void *_fix_init(struct io_engine *engine)
} }
if (!_runs_is_tmpfs) { if (!_runs_is_tmpfs) {
close(f->fd); (void) close(f->fd);
// reopen with O_DIRECT // reopen with O_DIRECT
f->fd = open(f->fname, O_RDWR | O_DIRECT); f->fd = open(f->fname, O_RDWR | O_DIRECT);
T_ASSERT(f->fd >= 0); T_ASSERT(f->fd >= 0);