modprobe: accept -b even if blacklist functionality is disabled

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Felipe Contreras 2012-01-31 14:55:15 +01:00 committed by Denys Vlasenko
parent c0657e0d0a
commit 428bd2d433
2 changed files with 9 additions and 8 deletions

View file

@ -805,7 +805,7 @@ int modprobe_main(int argc UNUSED_PARAM, char **argv)
opt_complementary = "-1";
/* only -q (quiet) and -r (rmmod),
* the rest are accepted and ignored (compat) */
getopt32(argv, "qrfsvw");
getopt32(argv, "qrfsvwb");
argv += optind;
/* are we rmmod? -> simulate modprobe -r */