CIFS: Fix a possible memory corruption during reconnect
[firefly-linux-kernel-4.4.55.git] / fs / cifs / smb2proto.h
index 9bc59f9c12fb5168daf8efbc6be90bdace302f74..0a406ae78129a3fbd5676a426ca0562bd5eaea23 100644 (file)
@@ -95,6 +95,7 @@ extern int smb2_open_file(const unsigned int xid,
 extern int smb2_unlock_range(struct cifsFileInfo *cfile,
                             struct file_lock *flock, const unsigned int xid);
 extern int smb2_push_mandatory_locks(struct cifsFileInfo *cfile);
+extern void smb2_reconnect_server(struct work_struct *work);
 
 /*
  * SMB2 Worker functions - most of protocol specific implementation details