summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorPavel Shilovsky2012-09-19 01:20:29 +0200
committerSteve French2012-09-25 04:46:28 +0200
commitc9de5c80d536e556568ccd45b9599870d4993b7d (patch)
tree5ae40ff872bc69cf5be996f2e6a75ea746d8ed58 /fs/cifs/cifsglob.h
parentCIFS: Add SMB2 support for cifs_iovec_read (diff)
downloadkernel-qcow2-linux-c9de5c80d536e556568ccd45b9599870d4993b7d.tar.gz
kernel-qcow2-linux-c9de5c80d536e556568ccd45b9599870d4993b7d.tar.xz
kernel-qcow2-linux-c9de5c80d536e556568ccd45b9599870d4993b7d.zip
CIFS: Move async write to 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 93dd582bb8d1..aef167470654 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -173,6 +173,7 @@ struct cifs_fattr;
struct smb_vol;
struct cifs_fid;
struct cifs_readdata;
+struct cifs_writedata;
struct smb_version_operations {
int (*send_cancel)(struct TCP_Server_Info *, void *,
@@ -283,6 +284,8 @@ struct smb_version_operations {
int (*flush)(const unsigned int, struct cifs_tcon *, struct cifs_fid *);
/* async read from the server */
int (*async_readv)(struct cifs_readdata *);
+ /* async write to the server */
+ int (*async_writev)(struct cifs_writedata *);
};
struct smb_version_values {