00001 /* EXTERN should be extern except for the table file */ 00002 #ifdef _TABLE 00003 #undef EXTERN 00004 #define EXTERN 00005 #endif 00006 00007 #include <minix/vfsif.h> 00008 00009 EXTERN off_t rdahedpos; /* position to read ahead */ 00010 EXTERN struct inode *rdahed_inode; /* pointer to inode to read ahead */ 00011 00012 /* The following variables are used for returning results to the caller. */ 00013 EXTERN int err_code; /* temporary storage for error number */ 00014 EXTERN int rdwt_err; /* status of last disk i/o request */ 00015 00016 EXTERN int cch[NR_INODES]; 00017 00018 extern char dot1[2]; /* dot1 (&dot1[0]) and dot2 (&dot2[0]) have a special */ 00019 extern char dot2[3]; /* meaning to search_dir: no access permission check. */ 00020 00021 extern _PROTOTYPE (int (*fs_call_vec[]), (void) ); /* fs call table */ 00022 00023 EXTERN message fs_m_in; 00024 EXTERN message fs_m_out; 00025 EXTERN int FS_STATE; 00026 EXTERN vfs_ucred_t credentials; 00027 00028 EXTERN uid_t caller_uid; 00029 EXTERN gid_t caller_gid; 00030 00031 EXTERN time_t boottime; /* time in seconds at system boot */ 00032 EXTERN int use_getuptime2; /* Should be removed togetherwith boottime */ 00033 00034 EXTERN int req_nr; 00035 00036 EXTERN int SELF_E; 00037 00038 EXTERN struct inode *chroot_dir; 00039 00040 EXTERN short path_processed; /* number of characters processed */ 00041 EXTERN char user_path[PATH_MAX+1]; /* pathname to be processed */ 00042 EXTERN char *vfs_slink_storage; 00043 EXTERN int Xsymloop; 00044 00045 EXTERN dev_t fs_dev; /* The device that is handled by this FS proc. 00046 */ 00047 EXTERN char fs_dev_label[16]; /* Name of the device driver that is handled 00048 * by this FS proc. 00049 */ 00050 EXTERN int unmountdone; 00051 EXTERN int exitsignaled; 00052 00053 /* our block size. */ 00054 EXTERN int fs_block_size; 00055 00056 /* Buffer cache. */ 00057 EXTERN struct buf buf[NR_BUFS]; 00058 EXTERN struct buf *buf_hash[NR_BUFS]; /* the buffer hash table */ 00059
1.5.8