diff options
author | Hou Tao <houtao1@huawei.com> | 2025-01-20 16:29:46 +0800 |
---|---|---|
committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-01-21 13:24:35 +0100 |
commit | 6fd2cb38c006cbdc4653e7e15e37ab23af59c2de (patch) | |
tree | c1ab4e3976e8cbde4ad85c48101257cc98c7809b /net/lapb/lapb_out.c | |
parent | 6845de78ae3701ed19619cf786695072c73b8e92 (diff) |
dm-crypt: set atomic as false when calling crypt_convert() in kworker
Both kcryptd_crypt_write_continue() and kcryptd_crypt_read_continue()
are running in the kworker context, it is OK to call cond_resched(),
Therefore, set atomic as false when invoking crypt_convert() under
kworker context.
Signed-off-by: Hou Tao <houtao1@huawei.com>
Reviewed-by: Ignat Korchagin <ignat@cloudflare.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions