summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorPavel Shilovsky2012-05-23 12:31:03 +0200
committerSteve French2012-07-24 07:32:25 +0200
commit316cf94a910f6f93d43cc574359d163ccae098a3 (patch)
tree8a3b54eab2154f843a7040ac40920d4c17600415 /fs/cifs/cifsglob.h
parentcifs: reinstate sec=ntlmv2 mount option (diff)
downloadkernel-qcow2-linux-316cf94a910f6f93d43cc574359d163ccae098a3.tar.gz
kernel-qcow2-linux-316cf94a910f6f93d43cc574359d163ccae098a3.tar.xz
kernel-qcow2-linux-316cf94a910f6f93d43cc574359d163ccae098a3.zip
CIFS: Move trans2 processing to ops struct
Reviewed-by: Jeff Layton <jlayton@samba.org> Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 6df0cbe1cbc9..2aac4e5fb334 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -187,6 +187,9 @@ struct smb_version_operations {
/* verify the message */
int (*check_message)(char *, unsigned int);
bool (*is_oplock_break)(char *, struct TCP_Server_Info *);
+ /* process transaction2 response */
+ bool (*check_trans2)(struct mid_q_entry *, struct TCP_Server_Info *,
+ char *, int);
};
struct smb_version_values {