module: Remove redundant TASK_UNINTERRUPTIBLE
PATCH 1/1 module: Remove redundant TASK_UNINTERRUPTIBLE
TASK_KILLABLE already includes TASK_UNINTERRUPTIBLE, so there is no need to add a separate TASK_UNINTERRUPTIBLE.
Signed-off-by Kevin Hao <[email protected]>
--- kernel/module/dups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/module/dups.c +1 -1
@@ -207,7 +207,7 @@ bool kmod_dup_request_exists_wait(char *module_name, bool wait, int *dup_ret)* optimization enabled ... */ ret =wait_for_completion_state (&kmod_req->first_req_done, -TASK_UNINTERRUPTIBLE |TASK_KILLABLE ); +TASK_KILLABLE );if (ret) { *dup_ret = ret;return true;
Signature · 1 line
2.39.2
Luis Chamberlain
maintainerQuoted 4 lines · Kevin Hao
TASK_KILLABLEalready includesTASK_UNINTERRUPTIBLE, so there is no need to add a separateTASK_UNINTERRUPTIBLE.Signed-off-by Kevin Hao <[email protected]>
Applied and pushed, thanks!
Luis