summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMaurizio Lombardi <mlombard@redhat.com>2021-05-31 14:13:26 +0200
committerSasha Levin <sashal@kernel.org>2021-06-30 08:49:30 -0400
commit10e2c4c399a60e627b1483c08ef5842fc1d3be51 (patch)
treed24e707bffc9f36063f80392c8ee3e512c67138e /net/unix/af_unix.c
parent38ce329534500bf4ae71f81df6a37a406cf187b4 (diff)
scsi: target: core: Fix warning on realtime kernels
[ Upstream commit 515da6f4295c2c42b8c54572cce3d2dd1167c41e ] On realtime kernels, spin_lock_irq*(spinlock_t) do not disable the interrupts, a call to irqs_disabled() will return false thus firing a warning in __transport_wait_for_tasks(). Remove the warning and also replace assert_spin_locked() with lockdep_assert_held() Link: https://lore.kernel.org/r/20210531121326.3649-1-mlombard@redhat.com Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Maurizio Lombardi <mlombard@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions