panic() cleanup.
[minix.git] / servers / mfs / glo.h
blob2dfd98fac28ffe2fd2d77ba18b999094f87bcd5c
1 /* EXTERN should be extern except for the table file */
2 #ifdef _TABLE
3 #undef EXTERN
4 #define EXTERN
5 #endif
7 #include <minix/vfsif.h>
9 EXTERN off_t rdahedpos; /* position to read ahead */
10 EXTERN struct inode *rdahed_inode; /* pointer to inode to read ahead */
12 /* The following variables are used for returning results to the caller. */
13 EXTERN int err_code; /* temporary storage for error number */
14 EXTERN int rdwt_err; /* status of last disk i/o request */
16 EXTERN int cch[NR_INODES];
18 extern char dot1[2]; /* dot1 (&dot1[0]) and dot2 (&dot2[0]) have a special */
19 extern char dot2[3]; /* meaning to search_dir: no access permission check. */
21 extern _PROTOTYPE (int (*fs_call_vec[]), (void) ); /* fs call table */
23 EXTERN message fs_m_in;
24 EXTERN message fs_m_out;
25 EXTERN int FS_STATE;
26 EXTERN vfs_ucred_t credentials;
28 EXTERN uid_t caller_uid;
29 EXTERN gid_t caller_gid;
31 EXTERN time_t boottime; /* time in seconds at system boot */
32 EXTERN int use_getuptime2; /* Should be removed togetherwith boottime */
34 EXTERN int req_nr;
36 EXTERN int SELF_E;
38 EXTERN struct inode *chroot_dir;
40 EXTERN short path_processed; /* number of characters processed */
41 EXTERN char user_path[PATH_MAX+1]; /* pathname to be processed */
42 EXTERN char *vfs_slink_storage;
43 EXTERN int Xsymloop;
45 EXTERN dev_t fs_dev; /* The device that is handled by this FS proc.
47 EXTERN char fs_dev_label[16]; /* Name of the device driver that is handled
48 * by this FS proc.
50 EXTERN int unmountdone;
51 EXTERN int exitsignaled;
53 /* our block size. */
54 EXTERN int fs_block_size;
56 /* Buffer cache. */
57 EXTERN struct buf buf[NR_BUFS];
58 EXTERN struct buf *buf_hash[NR_BUFS]; /* the buffer hash table */