1 /* This is the master header for fs. It includes some other files
2 * and defines the principal constants.
4 #define _POSIX_SOURCE 1 /* tell headers to include POSIX stuff */
5 #define _MINIX 1 /* tell headers to include MINIX stuff */
6 #define _SYSTEM 1 /* tell headers that this is the kernel */
8 #define DO_SANITYCHECKS 0
11 #define SANITYCHECK do { \
12 if(!check_vrefs() || !check_pipe()) { \
13 printf("VFS:%s:%d: call_nr %d who_e %d\n", \
14 __FILE__, __LINE__, call_nr, who_e); \
15 panic(__FILE__, "sanity check failed", NO_NUM); \
22 /* The following are so basic, all the *.c files get them automatically. */
23 #include <minix/config.h> /* MUST be first */
24 #include <ansi.h> /* MUST be second */
25 #include <sys/types.h>
26 #include <minix/const.h>
27 #include <minix/type.h>
28 #include <minix/dmap.h>
33 #include <minix/syslib.h>
34 #include <minix/sysutil.h>