mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-09 13:57:55 +03:00
cov: ignore close result
This commit is contained in:
parent
6668d6409a
commit
e7b5f490c5
@ -86,7 +86,7 @@ static void *_fix_init(struct io_engine *engine)
|
||||
}
|
||||
|
||||
if (!_runs_is_tmpfs) {
|
||||
close(f->fd);
|
||||
(void) close(f->fd);
|
||||
// reopen with O_DIRECT
|
||||
f->fd = open(f->fname, O_RDWR | O_DIRECT);
|
||||
T_ASSERT(f->fd >= 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user