OVL_CATTR
temp = ovl_create_temp(ofs, indexdir, OVL_CATTR(S_IFDIR | 0));
opaquedir = ovl_create_temp(ofs, workdir, OVL_CATTR(stat.mode));
temp = ovl_create_temp(ofs, workdir, OVL_CATTR(S_IFREG | 0));
OVL_CATTR(mode));