mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 09:16:33 +00:00
Modules changes for v6.8-rc1
Just one cleanup and one documentation improvement change. No functional changes. However, this has been tested on linux-next for over 1 month. -----BEGIN PGP SIGNATURE----- iQJGBAABCgAwFiEENnNq2KuOejlQLZofziMdCjCSiKcFAmWdW0USHG1jZ3JvZkBr ZXJuZWwub3JnAAoJEM4jHQowkoinL5gQAMUtU4nv+HahLwJK3ha5fRmcHm2kV9Q4 g9X7JUscEe+mNYLNy2Kjpl/BWatEHWn8jQD2nsMQJOcEkX2Mf5tfqBR3561wrfSZ dnMmNDG7Ym6Y9kOSDz6cpCxsu8Xm5Dj9MLKJ51qPfyXgeobD8IiKBe2oCDqcKzGY ZpDnmpUaYCOIloNhJNK9ybrNLsVDQwdPiC8vVQXULC4ePBw3i+mnh8c1wr442wEO G6xfi0wNXIoB9S8ynzakW2lJPD1XeMQYu/SJR0nz61KhJxAjs/LVAt9k7itcnUgG Zbc1Fn944oWoe7/ywwDIxstR56NYVpcXoTJexeHxrLe6PiEmRbh6phrBMUCOpUsh 0DrHJE8z4dsHovo6w6m1zvMF6FphLHhUU6L/opBwrUJ5CGrYfegG95v8d3jRSphe GSoMo9iGHvr0PgY7OcG77m5NJjrFwwbPO88Fe3IAXmOXIrKYuzBoUnt3Te1dw8vX 6vYPUUZ3HLDOACWtKf2Tjhr7pM6b1C72vrg7uYc2560BH6ERqjAtuOWKrx8QOeeo SUT4ACs4qa3DrPz7zpNhwwnfwpFoVuJd+fooMV/WhOU9KsCVCokC7zZub+J8UD7m 1j1nhWkKaF08c0BKW4zRMmUVSV6Dh/AO0YybetBq9b4o7NPEcij2HlIk+jJa0VMJ XSx5UcuxRyf7 =hvRa -----END PGP SIGNATURE----- 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
This commit is contained in:
commit
4cd083d531
@ -670,7 +670,7 @@ extern void __module_get(struct module *module);
|
||||
* @module: the module we should check for
|
||||
*
|
||||
* Only try to get a module reference count if the module is not being removed.
|
||||
* This call will fail if the module is already being removed.
|
||||
* This call will fail if the module is in the process of being removed.
|
||||
*
|
||||
* Care must also be taken to ensure the module exists and is alive prior to
|
||||
* usage of this call. This can be gauranteed through two means:
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user