]> git.ipfire.org Git - thirdparty/kmod.git/commit
modprobe: Move insertion block into separate function
authorGustavo Sousa <gustavo.sousa@intel.com>
Fri, 13 Jan 2023 21:37:44 +0000 (18:37 -0300)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Sat, 14 Jan 2023 00:48:02 +0000 (16:48 -0800)
commitf3db15e9009777318da6ade7cc82b7dfb472d0c4
tree87e7a77ae734c51a0ebe7868c0649ec2d3422200
parente54f74c4f7ac9b2f55bc6ac2ffb940e04308bb3f
modprobe: Move insertion block into separate function

That same logic will be used for enabling modprobe for paths in the next
patch. As such, prepare for that by extracting that block into its own
function.

Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
tools/modprobe.c