aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2proto.h
diff options
context:
space:
mode:
authorAurelien Aptel <aaptel@suse.com>2020-02-08 15:50:57 +0100
committerSteve French <stfrench@microsoft.com>2020-03-22 22:49:09 -0500
commit349e13ad30b45998bb9937cfe0b32be6f951976d (patch)
tree3827a85fd082bb28d8194b3ae733e41d17155b18 /fs/cifs/smb2proto.h
parentcifs: rename posix create rsp (diff)
downloadlinux-dev-349e13ad30b45998bb9937cfe0b32be6f951976d.tar.xz
linux-dev-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.h2
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 */