Mike Snitzer 7def52b78a dm integrity: fix to not disable/enable interrupts from interrupt context
Use spin_lock_irqsave and spin_unlock_irqrestore rather than
spin_{lock,unlock}_irq in submit_flush_bio().

Otherwise lockdep issues the following warning:
  DEBUG_LOCKS_WARN_ON(current->hardirq_context)
  WARNING: CPU: 1 PID: 0 at kernel/locking/lockdep.c:2748 trace_hardirqs_on_caller+0x107/0x180

Reported-by: Ondrej Kozina <okozina@redhat.com>
Tested-by: Ondrej Kozina <okozina@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Mikulas Patocka <mpatocka@redhat.com>
2017-06-21 11:45:02 -04:00
..
2017-05-31 10:50:23 -04:00
2017-05-05 18:49:20 -07:00
2017-04-08 11:25:38 -06:00
2017-05-05 18:49:20 -07:00
2016-11-01 09:43:26 -06:00
2017-05-08 17:15:12 -07:00
2017-05-05 18:49:20 -07:00
2017-05-05 18:49:20 -07:00
2016-08-07 14:41:02 -06:00
2017-05-31 10:50:23 -04:00
2017-05-01 14:09:21 -07:00
2017-04-08 11:25:38 -06:00
2015-08-13 12:31:57 -06:00