diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-09-18 19:20:31 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-24 22:46:29 -0400 |
commit | d143341815bdc7c45d5289a3ab5743c838332518 (patch) | |
tree | 2e94221eb03a569e07fa4118b7d68c507f66efb4 /fs/cifs/cifsglob.h | |
parent | 568798cc6211553e2494a6876fa19d064c822e79 (diff) |
CIFS: Move set_file_size 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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 8595d498ad80..803c21218633 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -252,6 +252,12 @@ struct smb_version_operations { | |||
252 | int (*get_srv_inum)(const unsigned int, struct cifs_tcon *, | 252 | int (*get_srv_inum)(const unsigned int, struct cifs_tcon *, |
253 | struct cifs_sb_info *, const char *, | 253 | struct cifs_sb_info *, const char *, |
254 | u64 *uniqueid, FILE_ALL_INFO *); | 254 | u64 *uniqueid, FILE_ALL_INFO *); |
255 | /* set size by path */ | ||
256 | int (*set_path_size)(const unsigned int, struct cifs_tcon *, | ||
257 | const char *, __u64, struct cifs_sb_info *, bool); | ||
258 | /* set size by file handle */ | ||
259 | int (*set_file_size)(const unsigned int, struct cifs_tcon *, | ||
260 | struct cifsFileInfo *, __u64, bool); | ||
255 | /* build a full path to the root of the mount */ | 261 | /* build a full path to the root of the mount */ |
256 | char * (*build_path_to_root)(struct smb_vol *, struct cifs_sb_info *, | 262 | char * (*build_path_to_root)(struct smb_vol *, struct cifs_sb_info *, |
257 | struct cifs_tcon *); | 263 | struct cifs_tcon *); |