diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2012-05-17 05:25:35 -0400 |
---|---|---|
committer | Pavel Shilovsky <pshilovsky@samba.org> | 2012-05-23 04:33:11 -0400 |
commit | 8aa26f3ed80ddbaf78804b6481fcfdbd447caa1c (patch) | |
tree | 7c0a61eb9711dd93bb5eda33d875fbdd7c20a0e4 /fs/cifs/cifsglob.h | |
parent | eb37871118abfc30629ee2bef11013eddb42c756 (diff) |
CIFS: Move protocol specific demultiplex thread calls to ops struct
Acked-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 825140170b1e..1001924f594a 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -175,6 +175,12 @@ struct smb_version_operations { | |||
175 | unsigned int (*read_data_length)(char *); | 175 | unsigned int (*read_data_length)(char *); |
176 | /* map smb to linux error */ | 176 | /* map smb to linux error */ |
177 | int (*map_error)(char *, bool); | 177 | int (*map_error)(char *, bool); |
178 | /* find mid corresponding to the response message */ | ||
179 | struct mid_q_entry * (*find_mid)(struct TCP_Server_Info *, char *); | ||
180 | void (*dump_detail)(void *); | ||
181 | /* verify the message */ | ||
182 | int (*check_message)(char *, unsigned int); | ||
183 | bool (*is_oplock_break)(char *, struct TCP_Server_Info *); | ||
178 | }; | 184 | }; |
179 | 185 | ||
180 | struct smb_version_values { | 186 | struct smb_version_values { |