: ext2_unlink() seems to return EPERM if one attempts to unlink() a
: directory.
: This seems a bit wrong, would not EISDIR be a better value?
POSIX 1003.1 section 5.5.1.4 (Errors):
EPERM The file named by path is a directory ...
So, nothing wrong with the kernel here.