diff options
author | Steve French <stfrench@microsoft.com> | 2021-11-12 18:55:03 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-11-12 21:59:51 +0300 |
commit | 9e7ffa77b26a8a00a12b6631aa13f161d9900b0c (patch) | |
tree | a088a0935db016b3ea308086e832b400f0d9e29d /lib/timerqueue.c | |
parent | bac35395d27c4b406fec0a6c2528744f64de6e13 (diff) | |
download | linux-9e7ffa77b26a8a00a12b6631aa13f161d9900b0c.tar.xz |
cifs: release lock earlier in dequeue_mid error case
In dequeue_mid we can log an error while holding a spinlock,
GlobalMid_Lock. Coverity notes that the error logging
also grabs a lock so it is cleaner (and a bit safer) to
release the GlobalMid_Lock before logging the warning.
Addresses-Coverity: 1507573 ("Thread deadlock")
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions