#ifndef __VFS_FS_H__ #define __VFS_FS_H__ /* This is the master header for fs. It includes some other files * and defines the principal constants. */ #define _POSIX_SOURCE 1 /* tell headers to include POSIX stuff */ #define _MINIX 1 /* tell headers to include MINIX stuff */ #define _SYSTEM 1 /* tell headers that this is the kernel */ #define DO_SANITYCHECKS 0 #if DO_SANITYCHECKS #define SANITYCHECK do { \ if(!check_vrefs() || !check_pipe()) { \ printf("VFS:%s:%d: call_nr %d who_e %d\n", \ __FILE__, __LINE__, call_nr, who_e); \ panic("sanity check failed"); \ } \ } while(0) #else #define SANITYCHECK #endif /* The following are so basic, all the *.c files get them automatically. */ #include /* MUST be first */ #include /* MUST be second */ #include #include #include #include #include #include #include #include #include #include #include #include #include "const.h" #include "dmap.h" #include "proto.h" #include "threads.h" #include "glo.h" #include "comm.h" #include "vmnt.h" #endif