cc810ee4d9
The main motivation for this change is that only Loris supports multithreading, and Loris supports dynamic thread allocation, so the number of supported threads can be implemented as a bit flag (i.e., either 1 or "at least as many as VFS has"). The ABI break obviates the need to support file system versioning at this time, and several other aspects are better implemented as flags as well. Other changes: - replace peek/bpeek test upon mount with FS flag as well; - mark libsffs as 64-bit file size capable; - remove old (3.2.1) getdents support. Change-Id: I313eace9c50ed816656c31cd47d969033d952a03
43 lines
1 KiB
C
43 lines
1 KiB
C
#ifndef __MFS_GLO_H__
|
|
#define __MFS_GLO_H__
|
|
|
|
/* EXTERN should be extern except for the table file */
|
|
#ifdef _TABLE
|
|
#undef EXTERN
|
|
#define EXTERN
|
|
#endif
|
|
|
|
#include <minix/vfsif.h>
|
|
|
|
/* The following variables are used for returning results to the caller. */
|
|
EXTERN int err_code; /* temporary storage for error number */
|
|
|
|
EXTERN int cch[NR_INODES];
|
|
|
|
extern char dot1[2]; /* dot1 (&dot1[0]) and dot2 (&dot2[0]) have a special */
|
|
extern char dot2[3]; /* meaning to search_dir: no access permission check. */
|
|
|
|
extern int(*fs_call_vec[]) (void);
|
|
|
|
EXTERN message fs_m_in;
|
|
EXTERN message fs_m_out;
|
|
EXTERN vfs_ucred_t credentials;
|
|
|
|
EXTERN uid_t caller_uid;
|
|
EXTERN gid_t caller_gid;
|
|
|
|
EXTERN int req_nr;
|
|
|
|
EXTERN endpoint_t SELF_E;
|
|
|
|
EXTERN char user_path[PATH_MAX]; /* pathname to be processed */
|
|
|
|
EXTERN dev_t fs_dev; /* The device that is handled by this FS proc.
|
|
*/
|
|
EXTERN char fs_dev_label[16]; /* Name of the device driver that is handled
|
|
* by this FS proc.
|
|
*/
|
|
EXTERN int unmountdone;
|
|
EXTERN int exitsignaled;
|
|
|
|
#endif
|