A bug in do_unlink, not sure about returning EPERM.
Empty pathname bug and directory handling
A bug about file descriptor