diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-09-18 19:20:29 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-24 22:46:28 -0400 |
commit | f9c6e234c3ca64b8d49336908df99948518d6261 (patch) | |
tree | c49a8042f3039d8c007018a51bfa0264341a8c32 /fs/cifs/cifsglob.h | |
parent | 33319141252fd14b58cf13685156c23dcaac2527 (diff) |
CIFS: Move readpage code 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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 330f6259bb6d..5b1751d81901 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -174,6 +174,7 @@ struct smb_vol; | |||
174 | struct cifs_fid; | 174 | struct cifs_fid; |
175 | struct cifs_readdata; | 175 | struct cifs_readdata; |
176 | struct cifs_writedata; | 176 | struct cifs_writedata; |
177 | struct cifs_io_parms; | ||
177 | 178 | ||
178 | struct smb_version_operations { | 179 | struct smb_version_operations { |
179 | int (*send_cancel)(struct TCP_Server_Info *, void *, | 180 | int (*send_cancel)(struct TCP_Server_Info *, void *, |
@@ -286,6 +287,10 @@ struct smb_version_operations { | |||
286 | int (*async_readv)(struct cifs_readdata *); | 287 | int (*async_readv)(struct cifs_readdata *); |
287 | /* async write to the server */ | 288 | /* async write to the server */ |
288 | int (*async_writev)(struct cifs_writedata *); | 289 | int (*async_writev)(struct cifs_writedata *); |
290 | /* sync read from the server */ | ||
291 | int (*sync_read)(const unsigned int, struct cifsFileInfo *, | ||
292 | struct cifs_io_parms *, unsigned int *, char **, | ||
293 | int *); | ||
289 | }; | 294 | }; |
290 | 295 | ||
291 | struct smb_version_values { | 296 | struct smb_version_values { |