mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 03:12:27 +00:00
The currently directory handling process to open tempfile by OpenOptions with custom_flags(O_TMPFILE) is workable for tmp filesystem, but not workable for hugetlbfs, add new directory handling process which works fine for both tmpfs and hugetlbfs. Signed-off-by: Cathy Zhang <cathy.zhang@intel.com>