diff options
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index b9f5e935f821..e65ff9849092 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -191,9 +191,20 @@ extern int CIFSSMBSetEOF(const int xid, struct cifsTconInfo *tcon, | |||
191 | extern int CIFSSMBSetFileSize(const int xid, struct cifsTconInfo *tcon, | 191 | extern int CIFSSMBSetFileSize(const int xid, struct cifsTconInfo *tcon, |
192 | __u64 size, __u16 fileHandle, __u32 opener_pid, | 192 | __u64 size, __u16 fileHandle, __u32 opener_pid, |
193 | bool AllocSizeFlag); | 193 | bool AllocSizeFlag); |
194 | extern int CIFSSMBUnixSetPerms(const int xid, struct cifsTconInfo *pTcon, | 194 | |
195 | char *full_path, __u64 mode, __u64 uid, | 195 | struct cifs_unix_set_info_args { |
196 | __u64 gid, dev_t dev, | 196 | __u64 ctime; |
197 | __u64 atime; | ||
198 | __u64 mtime; | ||
199 | __u64 mode; | ||
200 | __u64 uid; | ||
201 | __u64 gid; | ||
202 | dev_t device; | ||
203 | }; | ||
204 | |||
205 | extern int CIFSSMBUnixSetInfo(const int xid, struct cifsTconInfo *pTcon, | ||
206 | char *fileName, | ||
207 | const struct cifs_unix_set_info_args *args, | ||
197 | const struct nls_table *nls_codepage, | 208 | const struct nls_table *nls_codepage, |
198 | int remap_special_chars); | 209 | int remap_special_chars); |
199 | 210 | ||