In most (all?) cases, the code checks a field that the module fills in.
This field indicates not only that the module was loaded but that it
did its work. Like this code from drivers/block/md.c.
if (!pers[pnum]) {
request_module("md-personality-%d", pnum);
if (!pers[pnum])
return -EINVAL;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/