module: split up 'finit_module()' into init_module_from_file() helper
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 May 2023 00:55:13 +0000 (20:55 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 28 Jun 2023 22:46:43 +0000 (15:46 -0700)
commit054a73009c22a5fb8bbeee5394980809276bc9fe
treeb6b692ff668263a0e103b1795d05fd000384e4d7
parent89181f544ffa4da682b0145738342f9b78b9e8dc
module: split up 'finit_module()' into init_module_from_file() helper

This will simplify the next step, where we can then key off the inode to
do one idempotent module load.

Let's do the obvious re-organization in one step, and then the new code
in another.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/module/main.c