coverity appeasement - redundant check
[minix.git] / servers / vfs / vmnt.h
blob14d00b3ab377e6133831608f337888e49e003566
1 #ifndef __VFS_VMNT_H__
2 #define __VFS_VMNT_H__
4 EXTERN struct vmnt {
5 int m_fs_e; /* FS process' kernel endpoint */
6 tll_t m_lock;
7 comm_t m_comm;
8 dev_t m_dev; /* device number */
9 unsigned int m_flags; /* mount flags */
10 struct vnode *m_mounted_on; /* vnode on which the partition is mounted */
11 struct vnode *m_root_node; /* root vnode */
12 char m_label[LABEL_MAX]; /* label of the file system process */
13 } vmnt[NR_MNTS];
15 /* vmnt flags */
16 #define VMNT_READONLY 01 /* Device mounted readonly */
17 #define VMNT_CALLBACK 02 /* FS did back call */
18 #define VMNT_MOUNTING 04 /* Device is being mounted */
19 #define VMNT_FORCEROOTBSF 010 /* Force usage of none-device */
21 /* vmnt lock types mapping */
22 #define VMNT_READ TLL_READ
23 #define VMNT_WRITE TLL_READSER
24 #define VMNT_EXCL TLL_WRITE
26 #endif