]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod-module: probe: add flag to ignore loaded modules
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 30 Jan 2012 20:54:45 +0000 (18:54 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 31 Jan 2012 16:08:57 +0000 (14:08 -0200)
commit7c10c69c72a5639048d75b681395ecf72193ba7f
tree9db9c9d1d99564f7938a49e7efb1c30fd87f948b
parent6bd0713deb6be5922b419c6a73361843b8497025
libkmod-module: probe: add flag to ignore loaded modules

We need a way to tell libkmod to ignore loaded modules, so modprobe can
tell it to dry-run and show dependencies. However there's a conflict
with two flags. KMOD_PROBE_STOP_ON_ALREADY_LOADED prevails if passed
together with KMOD_PROBE_IGNORE_LOADED.
libkmod/libkmod-module.c
libkmod/libkmod.h