diff options
author | наб <[email protected]> | 2021-04-29 22:21:41 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-05-08 09:16:26 -0700 |
commit | 8bc357ba9285f0a151d458409d23916b3062d6dc (patch) | |
tree | bc287e6c2d38445d62e7f2690af573149ba58400 /include | |
parent | 36e8abee95576de588802afadd2c44c674e00acb (diff) |
libzfs: zpool_load_compat(): open feature file cloexec
As a bonus, this also passes the open flags into the open flags instead
of the mode (it worked by accident because O_RDONLY is 0),
correctly detects a failed map,
and prefaults the entire file since we're always writing to every page
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #11993
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions