File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2223,11 +2223,11 @@ static void kcryptd_queue_crypt(struct dm_crypt_io *io)
2223
2223
if ((bio_data_dir (io -> base_bio ) == READ && test_bit (DM_CRYPT_NO_READ_WORKQUEUE , & cc -> flags )) ||
2224
2224
(bio_data_dir (io -> base_bio ) == WRITE && test_bit (DM_CRYPT_NO_WRITE_WORKQUEUE , & cc -> flags ))) {
2225
2225
/*
2226
- * in_irq (): Crypto API's skcipher_walk_first() refuses to work in hard IRQ context.
2226
+ * in_hardirq (): Crypto API's skcipher_walk_first() refuses to work in hard IRQ context.
2227
2227
* irqs_disabled(): the kernel may run some IO completion from the idle thread, but
2228
2228
* it is being executed with irqs disabled.
2229
2229
*/
2230
- if (in_irq () || irqs_disabled ()) {
2230
+ if (in_hardirq () || irqs_disabled ()) {
2231
2231
tasklet_init (& io -> tasklet , kcryptd_crypt_tasklet , (unsigned long )& io -> work );
2232
2232
tasklet_schedule (& io -> tasklet );
2233
2233
return ;
You can’t perform that action at this time.
0 commit comments