diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2011-12-29 08:06:33 -0500 |
---|---|---|
committer | Pavel Shilovsky <pshilovsky@samba.org> | 2012-07-24 13:55:08 -0400 |
commit | be4cb9e3d4ef7af1aaf66cebab1391ff91b48beb (patch) | |
tree | d6cd1bc8f7ff8053c5917043b24e69c07f46594b /fs/cifs/smb2proto.h | |
parent | 1208ef1f76540b621f80e6130c4fb7bed8ece360 (diff) |
CIFS: Query SMB2 inode info
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r-- | fs/cifs/smb2proto.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h index 85aa8d5ea41a..1517b4c03c90 100644 --- a/fs/cifs/smb2proto.h +++ b/fs/cifs/smb2proto.h | |||
@@ -44,6 +44,10 @@ extern int smb2_check_receive(struct mid_q_entry *mid, | |||
44 | extern int smb2_setup_request(struct cifs_ses *ses, struct kvec *iov, | 44 | extern int smb2_setup_request(struct cifs_ses *ses, struct kvec *iov, |
45 | unsigned int nvec, struct mid_q_entry **ret_mid); | 45 | unsigned int nvec, struct mid_q_entry **ret_mid); |
46 | 46 | ||
47 | extern int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, | ||
48 | struct cifs_sb_info *cifs_sb, | ||
49 | const char *full_path, FILE_ALL_INFO *data, | ||
50 | bool *adjust_tz); | ||
47 | /* | 51 | /* |
48 | * SMB2 Worker functions - most of protocol specific implementation details | 52 | * SMB2 Worker functions - most of protocol specific implementation details |
49 | * are contained within these calls. | 53 | * are contained within these calls. |
@@ -62,5 +66,8 @@ extern int SMB2_open(const unsigned int xid, struct cifs_tcon *tcon, | |||
62 | __u32 file_attributes, __u32 create_options); | 66 | __u32 file_attributes, __u32 create_options); |
63 | extern int SMB2_close(const unsigned int xid, struct cifs_tcon *tcon, | 67 | extern int SMB2_close(const unsigned int xid, struct cifs_tcon *tcon, |
64 | u64 persistent_file_id, u64 volatile_file_id); | 68 | u64 persistent_file_id, u64 volatile_file_id); |
69 | extern int SMB2_query_info(const unsigned int xid, struct cifs_tcon *tcon, | ||
70 | u64 persistent_file_id, u64 volatile_file_id, | ||
71 | struct smb2_file_all_info *data); | ||
65 | 72 | ||
66 | #endif /* _SMB2PROTO_H */ | 73 | #endif /* _SMB2PROTO_H */ |