. service tells you which device it couldn't stat
[minix3.git] / servers / mfs / glo.h
blob01686272c863ac70a7f3fc81b823598702f76668
1 /* EXTERN should be extern except for the table file */
2 #ifdef _TABLE
3 #undef EXTERN
4 #define EXTERN
5 #endif
7 EXTERN off_t rdahedpos; /* position to read ahead */
8 EXTERN struct inode *rdahed_inode; /* pointer to inode to read ahead */
10 /* The following variables are used for returning results to the caller. */
11 EXTERN int err_code; /* temporary storage for error number */
12 EXTERN int rdwt_err; /* status of last disk i/o request */
14 EXTERN int cch[NR_INODES];
16 extern char dot1[2]; /* dot1 (&dot1[0]) and dot2 (&dot2[0]) have a special */
17 extern char dot2[3]; /* meaning to search_dir: no access permission check. */
19 extern _PROTOTYPE (int (*fs_call_vec[]), (void) ); /* fs call table */
21 EXTERN message fs_m_in;
22 EXTERN message fs_m_out;
23 EXTERN int FS_STATE;
25 EXTERN uid_t caller_uid;
26 EXTERN gid_t caller_gid;
28 EXTERN time_t boottime; /* time in seconds at system boot */
29 EXTERN int req_nr;
31 EXTERN int SELF_E;
33 EXTERN struct inode *chroot_dir;
35 EXTERN short path_processed; /* number of characters processed */
36 EXTERN char user_path[PATH_MAX+1]; /* pathname to be processed */
37 EXTERN char *vfs_slink_storage;
38 EXTERN int symloop;
40 EXTERN dev_t fs_dev; /* the device that is handled by this FS proc */