kmod/tools
Josh Boyer d53abca3be rmmod: Teach rmmod about builtin modules
Currently modprobe -r will fail if a module is built in and report that it
is built in.  rmmod calls the same function to determine state but doesn't
handle the KMOD_MODULE_BUILTIN return code.  This leads to confusing errors
like this:

	libkmod: kmod_module_get_holders: could not open '/sys/module/loop/holders': No such file or directory
	Error: Module loop is in use

Fix this so that it actually reports the correct problem to the user.
2013-03-18 11:16:50 -03:00
..
.gitignore Update .gitignore files 2012-02-05 02:15:20 -02:00
depmod.c Update copyright notices 2013-01-16 11:27:45 -02:00
insmod.c Update copyright notices 2013-01-16 11:27:45 -02:00
kmod.c Update copyright notices 2013-01-16 11:27:45 -02:00
kmod.h Update copyright notices 2013-01-16 11:27:45 -02:00
log.c Update copyright notices 2013-01-16 11:27:45 -02:00
log.h Update copyright notices 2013-01-16 11:27:45 -02:00
lsmod.c Update copyright notices 2013-01-16 11:27:45 -02:00
modinfo.c Update copyright notices 2013-01-16 11:27:45 -02:00
modprobe.c Update copyright notices 2013-01-16 11:27:45 -02:00
rmmod.c rmmod: Teach rmmod about builtin modules 2013-03-18 11:16:50 -03:00