diff options
author | Hannes Reinecke <hare@suse.de> | 2018-07-04 13:59:16 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-07-10 22:42:47 -0400 |
commit | fa519f701d27198a2858bb108fc18ea9d8c106a7 (patch) | |
tree | 315d6c945db86d66ec34f403f9cb5da0bc77d9ef /drivers/phy/qualcomm | |
parent | ee35624e1e4e4e9a26a30d56c25a07ba9cdd8ecb (diff) | |
download | linux-fa519f701d27198a2858bb108fc18ea9d8c106a7.tar.gz |
scsi: libfc: fixup 'sleeping function called from invalid context'
fc_rport_login() will be calling mutex_lock() while running inside an
RCU-protected section, triggering the warning 'sleeping function called
from invalid context'. To fix this we can drop the rcu functions here
altogether as the disc mutex protecting the list itself is already held,
preventing any list manipulation.
Fixes: a407c593398c ("scsi: libfc: Fixup disc_mutex handling")
Signed-off-by: Hannes Reinecke <hare@suse.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/phy/qualcomm')
0 files changed, 0 insertions, 0 deletions