diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-09-18 19:20:33 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-24 22:46:30 -0400 |
commit | d324f08d6a87149597817f4496ef0f7ac185e8da (patch) | |
tree | 03a02fcacdfe0ce8f2d91eb0cc3b108f02d0ba25 /fs/cifs/smb2proto.h | |
parent | 92fc65a74a2be1388d774f7dbf82c9adea1745cf (diff) |
CIFS: Add readdir support for SMB2
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r-- | fs/cifs/smb2proto.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h index 277472433158..0d29db222a5a 100644 --- a/fs/cifs/smb2proto.h +++ b/fs/cifs/smb2proto.h | |||
@@ -34,7 +34,7 @@ struct statfs; | |||
34 | */ | 34 | */ |
35 | extern int map_smb2_to_linux_error(char *buf, bool log_err); | 35 | extern int map_smb2_to_linux_error(char *buf, bool log_err); |
36 | extern int smb2_check_message(char *buf, unsigned int length); | 36 | extern int smb2_check_message(char *buf, unsigned int length); |
37 | extern unsigned int smb2_calc_size(struct smb2_hdr *hdr); | 37 | extern unsigned int smb2_calc_size(void *buf); |
38 | extern char *smb2_get_data_area_len(int *off, int *len, struct smb2_hdr *hdr); | 38 | extern char *smb2_get_data_area_len(int *off, int *len, struct smb2_hdr *hdr); |
39 | extern __le16 *cifs_convert_path_to_utf16(const char *from, | 39 | extern __le16 *cifs_convert_path_to_utf16(const char *from, |
40 | struct cifs_sb_info *cifs_sb); | 40 | struct cifs_sb_info *cifs_sb); |
@@ -117,6 +117,9 @@ extern int smb2_async_writev(struct cifs_writedata *wdata); | |||
117 | extern int SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms, | 117 | extern int SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms, |
118 | unsigned int *nbytes, struct kvec *iov, int n_vec); | 118 | unsigned int *nbytes, struct kvec *iov, int n_vec); |
119 | extern int SMB2_echo(struct TCP_Server_Info *server); | 119 | extern int SMB2_echo(struct TCP_Server_Info *server); |
120 | extern int SMB2_query_directory(const unsigned int xid, struct cifs_tcon *tcon, | ||
121 | u64 persistent_fid, u64 volatile_fid, int index, | ||
122 | struct cifs_search_info *srch_inf); | ||
120 | extern int SMB2_rename(const unsigned int xid, struct cifs_tcon *tcon, | 123 | extern int SMB2_rename(const unsigned int xid, struct cifs_tcon *tcon, |
121 | u64 persistent_fid, u64 volatile_fid, | 124 | u64 persistent_fid, u64 volatile_fid, |
122 | __le16 *target_file); | 125 | __le16 *target_file); |