fill_default_stat
fill_default_stat(&root->st, ns->nsid, ns->rootid, 0777 | S_IFDIR);
fill_default_stat(&n->st, ns->nsid, n->vnid, (perms & ~S_IFMT) | (mkdir?S_IFDIR:S_IFREG));