diff options
author | Mike Christie <mchristi@redhat.com> | 2018-08-02 20:12:20 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-19 23:43:39 +0300 |
commit | 1f6324f4ea5b496fcb4d20350956b808ad43b977 (patch) | |
tree | 26a9550a718b68d3758b22e15312ed3deb00b65e /drivers/md/raid5.c | |
parent | 3ddbcd49bbb3e50145a9fdefb3bfd6ca6a12c353 (diff) | |
download | linux-1f6324f4ea5b496fcb4d20350956b808ad43b977.tar.xz |
scsi: target: fix __transport_register_session locking
[ Upstream commit 6a64f6e1591322beb8ce16e952a53582caf2a15c ]
When __transport_register_session is called from transport_register_session
irqs will already have been disabled, so we do not want the unlock irq call
to enable them until the higher level has done the final
spin_unlock_irqrestore/ spin_unlock_irq.
This has __transport_register_session use the save/restore call.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
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 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions