inodetype
if (inodetype(ino) == LEAF) {
fp->ftype = inodetype(fp->fnum);
extern int inodetype(ino_t);
extern int inodetype();