diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2019-06-14 13:02:29 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-06-17 16:27:02 -0500 |
commit | 61cabc7b0a5cf0d3c532cfa96594c801743fe7f6 (patch) | |
tree | 54a1acbd27462f83c01f4f65512cebf0464be995 /arch/mips/kernel/cpu-probe.c | |
parent | 8d526d62db907e786fd88948c75d1833d82bd80e (diff) | |
download | linux-61cabc7b0a5cf0d3c532cfa96594c801743fe7f6.tar.bz2 |
cifs: fix GlobalMid_Lock bug in cifs_reconnect
We can not hold the GlobalMid_Lock spinlock during the
dfs processing in cifs_reconnect since it invokes things that may sleep
and thus trigger :
BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:23
Thus we need to drop the spinlock during this code block.
RHBZ: 1716743
Cc: stable@vger.kernel.org
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Acked-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'arch/mips/kernel/cpu-probe.c')
0 files changed, 0 insertions, 0 deletions