diff options
author | 2018-08-01 09:26:17 +1000 | |
---|---|---|
committer | 2018-08-08 18:08:47 -0500 | |
commit | 296ecbae7fdf209b1e0fb08b8bd82e5e9b637439 (patch) | |
tree | d6af9dbd80d21fa2aa8ed4a38e21ba28f6fb0333 /fs/cifs/smb2proto.h | |
parent | cifs: add SMB2_close_init()/SMB2_close_free() (diff) | |
download | linux-296ecbae7fdf209b1e0fb08b8bd82e5e9b637439.tar.gz linux-296ecbae7fdf209b1e0fb08b8bd82e5e9b637439.tar.bz2 linux-296ecbae7fdf209b1e0fb08b8bd82e5e9b637439.zip |
cifs: add SMB2_query_info_[init|free]()
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Reviewed-by: Paulo Alcantara <palcantara@suse.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r-- | fs/cifs/smb2proto.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h index fdd8c78648c6..1255cde5133b 100644 --- a/fs/cifs/smb2proto.h +++ b/fs/cifs/smb2proto.h @@ -153,6 +153,11 @@ extern int SMB2_query_eas(const unsigned int xid, struct cifs_tcon *tcon, extern int SMB2_query_info(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_file_id, u64 volatile_file_id, struct smb2_file_all_info *data); +extern int SMB2_query_info_init(struct cifs_tcon *tcon, struct smb_rqst *rqst, + u64 persistent_fid, u64 volatile_fid, + u8 info_class, u8 info_type, + u32 additional_info, size_t output_len); +extern void SMB2_query_info_free(struct smb_rqst *rqst); extern int SMB2_query_acl(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_file_id, u64 volatile_file_id, void **data, unsigned int *plen); |