diff options
author | Hannes Reinecke <hare@suse.de> | 2018-07-04 13:59:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-26 08:38:13 +0200 |
commit | 7a5096cf28864f65f1926e5d63e19ad6fe0431bb (patch) | |
tree | 0510e3a372bfd59abccc318d7a2319019eab9fde /tools/testing | |
parent | c8831347d7060b48c5e68587ef5b774f9c10c3a0 (diff) |
scsi: libfc: fixup 'sleeping function called from invalid context'
[ Upstream commit fa519f701d27198a2858bb108fc18ea9d8c106a7 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions