diff options
author | Steve French <stfrench@microsoft.com> | 2020-06-11 19:25:47 -0500 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-06-12 06:20:38 -0500 |
commit | 6a5f6592a0b606eac3147f786c958f1696c337f3 (patch) | |
tree | 0d96a5fd96ace58d3bae80302367837718f26e4c /fs/cifs/smb2proto.h | |
parent | ebf57440ec59a36e1fc5fe91e31d66ae0d1662d0 (diff) | |
download | linux-6a5f6592a0b606eac3147f786c958f1696c337f3.tar.bz2 |
SMB311: Add support for query info using posix extensions (level 100)
Adds support for better query info on dentry revalidation (using
the SMB3.1.1 POSIX extensions level 100). Followon patch will
add support for translating the UID/GID from the SID and also
will add support for using the posix query info on lookup.
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r-- | fs/cifs/smb2proto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h index 71ba74792c9e..a5c6da59847e 100644 --- a/fs/cifs/smb2proto.h +++ b/fs/cifs/smb2proto.h @@ -289,6 +289,10 @@ extern int smb2_query_info_compound(const unsigned int xid, u32 class, u32 type, u32 output_len, struct kvec *rsp, int *buftype, struct cifs_sb_info *cifs_sb); +/* query path info from the server using SMB311 POSIX extensions*/ +extern int smb311_posix_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, + struct cifs_sb_info *sb, const char *path, struct smb311_posix_qinfo *qinf, + bool *adjust_tx, bool *symlink); int posix_info_parse(const void *beg, const void *end, struct smb2_posix_info_parsed *out); int posix_info_sid_size(const void *beg, const void *end); |