		INTERNAL TO-DO LIST FOR FISTGEN MAINTAINERS

* LINUX 2.3 TEMPLATES

- use kmalloc instead of get_free_page?

* FISTGEN

Must autoconf for LAST_OS_ERRNO
	no, statically set it in an OS-specific header file

must generate string and numeric versions of mntflags, and a program to
	parse them in user-land, and set the correct foofs_args->flags
	field and flags.  (foofs_args must exist if there are any flags.)

generate .h and .c based fist_globals_t

need to validate fist function names?

need new parser for wrapfs
	skip comments
	sed wrapfs/WRAPFS => foofs/FOOFS in *.[hc] and Makefile
	look for FIST_LOOKUP_PRECALL, FIST_UNLINK_POSTCALL
	how do I do FIST_<VOP>_CALL?
		FIST_VOP_CALL_BEGIN;
		FIST_VOP_CALL_END;

expand real dollar variables rather than [[$1]]
	ditto for %var rather than <<$1>>

should I expand variables/functions inside strings, or not?
	for now, I do expand them, but that's wrong!

must generate root_vnode and other hidden-XXX fields inside pervfs/pervnode
data structures:
	vfs: root vnode
	vnode: hidden vnode(s) more than 1 if we have fanout>1

generate IOCTL types and names, as well as data structures for them, based
on names.  (How do I define IN vs. OUT vs. INOUT ioctls?)

generate fileformat structures...

generate ``#include "os-config.h"'' call, and include such a header per
template.

instead of running sed, maybe I should have a "real" (third?) parser, or a
simplified function using strstr.  It's only worth it if I can do it in one
pass.

merge fist.h and wrapfs.h into fist.h
	then "fist_FOOfs.h" makes more sense

lofs must still copy data pages, until lofs can be made to stack only on
	directory vnodes.

