diff options
author | Aurelien Aptel <aaptel@suse.com> | 2020-02-08 15:50:57 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-03-23 04:49:09 +0100 |
commit | 349e13ad30b45998bb9937cfe0b32be6f951976d (patch) | |
tree | 3827a85fd082bb28d8194b3ae733e41d17155b18 /fs/cifs/smb2proto.h | |
parent | cifs: rename posix create rsp (diff) | |
download | linux-349e13ad30b45998bb9937cfe0b32be6f951976d.tar.xz linux-349e13ad30b45998bb9937cfe0b32be6f951976d.zip |
cifs: add smb2 POSIX info level
* add new info level and structs for SMB2 posix extension
* add functions to parse and validate it
Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r-- | fs/cifs/smb2proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h index de6388ef344f..c0f0801e7e8e 100644 --- a/fs/cifs/smb2proto.h +++ b/fs/cifs/smb2proto.h @@ -272,4 +272,6 @@ 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); +int posix_info_parse(const void *beg, const void *end, + struct smb2_posix_info_parsed *out); #endif /* _SMB2PROTO_H */ |