Revision f2cca6a7c99fdeadacd0bdc37d825c4bc2b03653 authored by Pavel Shilovsky on 08 October 2016, 00:26:36 UTC, committed by Steve French on 14 October 2016, 00:48:55 UTC
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>
1 parent 166cea4
History
File Mode Size
Makefile -rw-r--r-- 1.1 KB
lockdep.c -rw-r--r-- 108.0 KB
lockdep_internals.h -rw-r--r-- 4.5 KB
lockdep_proc.c -rw-r--r-- 17.4 KB
lockdep_states.h -rw-r--r-- 233 bytes
locktorture.c -rw-r--r-- 26.4 KB
mcs_spinlock.h -rw-r--r-- 3.5 KB
mutex-debug.c -rw-r--r-- 3.1 KB
mutex-debug.h -rw-r--r-- 1.7 KB
mutex.c -rw-r--r-- 25.2 KB
mutex.h -rw-r--r-- 1.5 KB
osq_lock.c -rw-r--r-- 5.1 KB
percpu-rwsem.c -rw-r--r-- 5.1 KB
qrwlock.c -rw-r--r-- 4.1 KB
qspinlock.c -rw-r--r-- 17.8 KB
qspinlock_paravirt.h -rw-r--r-- 15.1 KB
qspinlock_stat.h -rw-r--r-- 7.7 KB
rtmutex-debug.c -rw-r--r-- 4.5 KB
rtmutex-debug.h -rw-r--r-- 1.5 KB
rtmutex.c -rw-r--r-- 44.6 KB
rtmutex.h -rw-r--r-- 1.3 KB
rtmutex_common.h -rw-r--r-- 3.3 KB
rwsem-spinlock.c -rw-r--r-- 6.9 KB
rwsem-xadd.c -rw-r--r-- 17.7 KB
rwsem.c -rw-r--r-- 3.8 KB
rwsem.h -rw-r--r-- 1.9 KB
semaphore.c -rw-r--r-- 7.3 KB
spinlock.c -rw-r--r-- 10.1 KB
spinlock_debug.c -rw-r--r-- 7.1 KB

back to top