summaryrefslogtreecommitdiffstats
path: root/kernel/module
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-01-11 03:00:18 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2024-01-11 03:00:18 +0100
commit4cd083d53108b32f4c8ed92a3f85d7b36133c0c9 (patch)
treee3e08d3d9f94c83ae72f57f0b147ebd037f952fa /kernel/module
parentMerge tag 'sysctl-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m... (diff)
parentkernel/module: improve documentation for try_module_get() (diff)
downloadlinux-4cd083d53108b32f4c8ed92a3f85d7b36133c0c9.tar.xz
linux-4cd083d53108b32f4c8ed92a3f85d7b36133c0c9.zip
Merge tag 'modules-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux
Pull module updates from Luis Chamberlain: "Just one cleanup and one documentation improvement change. No functional changes" * tag 'modules-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux: kernel/module: improve documentation for try_module_get() module: Remove redundant TASK_UNINTERRUPTIBLE
Diffstat (limited to 'kernel/module')
-rw-r--r--kernel/module/dups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/module/dups.c b/kernel/module/dups.c
index f3d7ea1e96d8..9a92f2f8c9d3 100644
--- a/kernel/module/dups.c
+++ b/kernel/module/dups.c
@@ -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;