summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorPavel Shilovsky2012-06-01 12:26:18 +0200
committerPavel Shilovsky2012-07-24 19:55:12 +0200
commit45740847e2362f36410e8118ac685876be473039 (patch)
treed0cb8a64d50b7a5a945a02b03a5c4ff385ce4b73 /fs/cifs/cifsglob.h
parentCIFS: Add SMB2 support for build_path_to_root (diff)
downloadkernel-qcow2-linux-45740847e2362f36410e8118ac685876be473039.tar.gz
kernel-qcow2-linux-45740847e2362f36410e8118ac685876be473039.tar.xz
kernel-qcow2-linux-45740847e2362f36410e8118ac685876be473039.zip
CIFS: Setup async request in ops struct
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 340dce0ed07b..5e4d1c56767d 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -173,6 +173,9 @@ struct smb_version_operations {
/* setup request: allocate mid, sign message */
int (*setup_request)(struct cifs_ses *, struct kvec *, unsigned int,
struct mid_q_entry **);
+ /* setup async request: allocate mid, sign message */
+ int (*setup_async_request)(struct TCP_Server_Info *, struct kvec *,
+ unsigned int, struct mid_q_entry **);
/* check response: verify signature, map error */
int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
bool);