diff options
Diffstat (limited to 'fs/9p/v9fs.h')
| -rw-r--r-- | fs/9p/v9fs.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/fs/9p/v9fs.h b/fs/9p/v9fs.h index 4c963c9fc41f..8bb7792afe2e 100644 --- a/fs/9p/v9fs.h +++ b/fs/9p/v9fs.h | |||
| @@ -33,13 +33,17 @@ | |||
| 33 | * | 33 | * |
| 34 | * Session flags reflect options selected by users at mount time | 34 | * Session flags reflect options selected by users at mount time |
| 35 | */ | 35 | */ |
| 36 | #define V9FS_ACCESS_ANY (V9FS_ACCESS_SINGLE | \ | ||
| 37 | V9FS_ACCESS_USER | \ | ||
| 38 | V9FS_ACCESS_CLIENT) | ||
| 39 | #define V9FS_ACCESS_MASK V9FS_ACCESS_ANY | ||
| 40 | |||
| 36 | enum p9_session_flags { | 41 | enum p9_session_flags { |
| 37 | V9FS_PROTO_2000U = 0x01, | 42 | V9FS_PROTO_2000U = 0x01, |
| 38 | V9FS_PROTO_2000L = 0x02, | 43 | V9FS_PROTO_2000L = 0x02, |
| 39 | V9FS_ACCESS_SINGLE = 0x04, | 44 | V9FS_ACCESS_SINGLE = 0x04, |
| 40 | V9FS_ACCESS_USER = 0x08, | 45 | V9FS_ACCESS_USER = 0x08, |
| 41 | V9FS_ACCESS_ANY = 0x0C, | 46 | V9FS_ACCESS_CLIENT = 0x10 |
| 42 | V9FS_ACCESS_MASK = 0x0C, | ||
| 43 | }; | 47 | }; |
| 44 | 48 | ||
| 45 | /* possible values of ->cache */ | 49 | /* possible values of ->cache */ |
