inodetype
int inodetype(ino_t);
if (inodetype(ino) == LEAF) {
if (inodetype(dp->d_ino) == NODE)
if (inodetype(dp->d_fileno) == NODE)