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/cifsproto.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/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 3c50555c7735..3d99fe9afccc 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -270,13 +270,11 @@ extern int CIFSSMBSetAttrLegacy(unsigned int xid, struct cifs_tcon *tcon, | |||
270 | const struct nls_table *nls_codepage); | 270 | const struct nls_table *nls_codepage); |
271 | #endif /* possibly unneeded function */ | 271 | #endif /* possibly unneeded function */ |
272 | extern int CIFSSMBSetEOF(const unsigned int xid, struct cifs_tcon *tcon, | 272 | extern int CIFSSMBSetEOF(const unsigned int xid, struct cifs_tcon *tcon, |
273 | const char *fileName, __u64 size, | 273 | const char *file_name, __u64 size, |
274 | bool setAllocationSizeFlag, | 274 | struct cifs_sb_info *cifs_sb, bool set_allocation); |
275 | const struct nls_table *nls_codepage, | ||
276 | int remap_special_chars); | ||
277 | extern int CIFSSMBSetFileSize(const unsigned int xid, struct cifs_tcon *tcon, | 275 | extern int CIFSSMBSetFileSize(const unsigned int xid, struct cifs_tcon *tcon, |
278 | __u64 size, __u16 fileHandle, __u32 opener_pid, | 276 | struct cifsFileInfo *cfile, __u64 size, |
279 | bool AllocSizeFlag); | 277 | bool set_allocation); |
280 | 278 | ||
281 | struct cifs_unix_set_info_args { | 279 | struct cifs_unix_set_info_args { |
282 | __u64 ctime; | 280 | __u64 ctime; |