bugfix on mkdir/mknod relying on namei returning only -1 or id