diff options
| author | Luis Chamberlain <[email protected]> | 2023-03-11 04:05:52 +0000 |
|---|---|---|
| committer | Luis Chamberlain <[email protected]> | 2023-04-18 18:15:24 +0000 |
| commit | f71afa6a420111da90657fe999a8e32c42d5c7d6 (patch) | |
| tree | e36fbcaebeee310db595d2e087ba5fa4137db903 /lib/test_vmalloc.c | |
| parent | modules/kmod: replace implementation with a semaphore (diff) | |
| download | kernel-f71afa6a420111da90657fe999a8e32c42d5c7d6.tar.gz kernel-f71afa6a420111da90657fe999a8e32c42d5c7d6.zip | |
module: extract patient module check into helper
The patient module check inside add_unformed_module() is large
enough as we need it. It is a bit hard to read too, so just
move it to a helper and do the inverse checks first to help
shift the code and make it easier to read. The new helper then
is module_patient_check_exists().
To make this work we need to mvoe the finished_loading() up,
we do that without making any functional changes to that routine.
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Luis Chamberlain <[email protected]>
Diffstat (limited to 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions
