diff options
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r-- | fs/fuse/fuse_i.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index 0ea5301f86be..74c8d098a14a 100644 --- a/fs/fuse/fuse_i.h +++ b/fs/fuse/fuse_i.h | |||
@@ -21,6 +21,9 @@ | |||
21 | /** If more requests are outstanding, then the operation will block */ | 21 | /** If more requests are outstanding, then the operation will block */ |
22 | #define FUSE_MAX_OUTSTANDING 10 | 22 | #define FUSE_MAX_OUTSTANDING 10 |
23 | 23 | ||
24 | /** It could be as large as PATH_MAX, but would that have any uses? */ | ||
25 | #define FUSE_NAME_MAX 1024 | ||
26 | |||
24 | /** If the FUSE_DEFAULT_PERMISSIONS flag is given, the filesystem | 27 | /** If the FUSE_DEFAULT_PERMISSIONS flag is given, the filesystem |
25 | module will check permissions based on the file mode. Otherwise no | 28 | module will check permissions based on the file mode. Otherwise no |
26 | permission checking is done in the kernel */ | 29 | permission checking is done in the kernel */ |
@@ -108,9 +111,6 @@ struct fuse_out { | |||
108 | struct fuse_arg args[3]; | 111 | struct fuse_arg args[3]; |
109 | }; | 112 | }; |
110 | 113 | ||
111 | struct fuse_req; | ||
112 | struct fuse_conn; | ||
113 | |||
114 | /** | 114 | /** |
115 | * A request to the client | 115 | * A request to the client |
116 | */ | 116 | */ |
@@ -159,7 +159,8 @@ struct fuse_req { | |||
159 | union { | 159 | union { |
160 | struct fuse_forget_in forget_in; | 160 | struct fuse_forget_in forget_in; |
161 | struct fuse_release_in release_in; | 161 | struct fuse_release_in release_in; |
162 | struct fuse_init_in_out init_in_out; | 162 | struct fuse_init_in init_in; |
163 | struct fuse_init_out init_out; | ||
163 | } misc; | 164 | } misc; |
164 | 165 | ||
165 | /** page vector */ | 166 | /** page vector */ |
@@ -272,6 +273,9 @@ struct fuse_conn { | |||
272 | /** Is create not implemented by fs? */ | 273 | /** Is create not implemented by fs? */ |
273 | unsigned no_create : 1; | 274 | unsigned no_create : 1; |
274 | 275 | ||
276 | /** Negotiated minor version */ | ||
277 | unsigned minor; | ||
278 | |||
275 | /** Backing dev info */ | 279 | /** Backing dev info */ |
276 | struct backing_dev_info bdi; | 280 | struct backing_dev_info bdi; |
277 | }; | 281 | }; |