]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - fs/cifs/smb2proto.h
cifs: cache FILE_ALL_INFO for the shared root handle
[zynq/linux.git] / fs / cifs / smb2proto.h
index 87733b27a65fef06c137e0782a04ab1151064ca6..72cc563c32fe9e65e2c09625fbdc73ece4588301 100644 (file)
@@ -223,6 +223,9 @@ extern int smb3_validate_negotiate(const unsigned int, struct cifs_tcon *);
 
 extern enum securityEnum smb2_select_sectype(struct TCP_Server_Info *,
                                        enum securityEnum);
+extern __u8 smb2_parse_lease_state(struct TCP_Server_Info *server,
+                                  struct smb2_create_rsp *rsp,
+                                  unsigned int *epoch, char *lease_key);
 extern int smb3_encryption_required(const struct cifs_tcon *tcon);
 extern int smb2_validate_iov(unsigned int offset, unsigned int buffer_length,
                             struct kvec *iov, unsigned int min_buf_size);