diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-09-19 01:20:30 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-25 04:46:28 +0200 |
commit | ba9ad7257ae50b8aa72a3f44da839830e065363c (patch) | |
tree | 95d7aafe1a24ef0d046bee15833854bd397882b9 /fs/cifs/cifsglob.h | |
parent | CIFS: Add readpage support for SMB2 (diff) | |
download | linux-ba9ad7257ae50b8aa72a3f44da839830e065363c.tar.xz linux-ba9ad7257ae50b8aa72a3f44da839830e065363c.zip |
CIFS: Move writepage 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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 5b1751d81901..48c7c83a7a99 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -291,6 +291,10 @@ struct smb_version_operations { int (*sync_read)(const unsigned int, struct cifsFileInfo *, struct cifs_io_parms *, unsigned int *, char **, int *); + /* sync write to the server */ + int (*sync_write)(const unsigned int, struct cifsFileInfo *, + struct cifs_io_parms *, unsigned int *, struct kvec *, + unsigned long); }; struct smb_version_values { |