modify the namei.c to support the multi directory.