diff options
| author | Aurelien Aptel <[email protected]> | 2019-07-17 10:46:28 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2019-07-18 18:51:35 +0000 |
| commit | 7e5a70ad88b1e6f6d9b934b2efb41afff496820f (patch) | |
| tree | 9c13366cebf1ad4eccc41e40ca9005e55305d2f5 /drivers/pci/controller/pci-host-common.c | |
| parent | Merge tag '4.3-rc-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6 (diff) | |
| download | kernel-7e5a70ad88b1e6f6d9b934b2efb41afff496820f.tar.gz kernel-7e5a70ad88b1e6f6d9b934b2efb41afff496820f.zip | |
CIFS: fix deadlock in cached root handling
Prevent deadlock between open_shroot() and
cifs_mark_open_files_invalid() by releasing the lock before entering
SMB2_open, taking it again after and checking if we still need to use
the result.
Link: https://lore.kernel.org/linux-cifs/[email protected]/T/#u
Fixes: 3d4ef9a15343 ("smb3: fix redundant opens on root")
Signed-off-by: Aurelien Aptel <[email protected]>
Reviewed-by: Pavel Shilovsky <[email protected]>
Signed-off-by: Steve French <[email protected]>
CC: Stable <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
