diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-01-11 09:24:41 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-01-24 23:30:23 -0500 |
commit | 61263b3a11a2594b4e898f166c31162236182b5c (patch) | |
tree | 54a066529ab1f24b7829b32099485fab10002502 /drivers/target/iscsi | |
parent | e783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff) | |
download | linux-stable-61263b3a11a2594b4e898f166c31162236182b5c.tar.gz linux-stable-61263b3a11a2594b4e898f166c31162236182b5c.tar.bz2 linux-stable-61263b3a11a2594b4e898f166c31162236182b5c.zip |
scsi: elx: efct: Don't use GFP_KERNEL under spin lock
GFP_KERNEL/GFP_DMA can't be used under a spin lock. According the comment,
els_ios_lock is used to protect els ios list so we can move down the spin
lock to avoid using this flag under the lock.
Link: https://lore.kernel.org/r/20220111012441.3232527-1-yangyingliang@huawei.com
Fixes: 8f406ef72859 ("scsi: elx: libefc: Extended link Service I/O handling")
Reported-by: Hulk Robot <hulkci@huawei.com>
Reviewed-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target/iscsi')
0 files changed, 0 insertions, 0 deletions