commit | f2cca6a7c99fdeadacd0bdc37d825c4bc2b03653 | [log] [tgz] |
---|---|---|
author | Pavel Shilovsky <pshilov@microsoft.com> | Fri Oct 07 17:26:36 2016 -0700 |
committer | Steve French <smfrench@gmail.com> | Thu Oct 13 19:48:55 2016 -0500 |
tree | 56eb1f191ef0846f13f392bf2d207f0ba0460934 | |
parent | 166cea4dc3a4f66f020cfb9286225ecd228ab61d [diff] |
CIFS: Fix persistent handles re-opening on reconnect openFileList of tcon can be changed while cifs_reopen_file() is called that can lead to an unexpected behavior when we return to the loop. Fix this by introducing a temp list for keeping all file handles that need to be reopen. Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> Signed-off-by: Steve French <smfrench@gmail.com>