diff options
author | Denys Vlasenko | 2014-04-21 16:59:36 +0200 |
---|---|---|
committer | Denys Vlasenko | 2014-04-21 16:59:36 +0200 |
commit | 07e5555a8f7469f6f45cacd7fc188816ae644f74 (patch) | |
tree | 3a7d88959d5ed5d0ed5ab74922e1c16a18b2a35b /coreutils/head.c | |
parent | 5a21c8550ef9ed9cfcc4abed7d59e58017a306e5 (diff) | |
download | busybox-07e5555a8f7469f6f45cacd7fc188816ae644f74.zip busybox-07e5555a8f7469f6f45cacd7fc188816ae644f74.tar.gz |
modprobe-small: (un)load all modules which match the alias, not only first one
Closes 627 and 7034.
Commonly seen case is (un)loading of an alias
which matches ata_generic and a more specific ata module.
For example:
modprobe [-r] pci:v00008086d00007010sv00000000sd00000000bc01sc01i80
(ata_generic and pata_acpi)
modprobe [-r] pci:v00001106d00000571sv00001509sd00009022bc01sc01i8a
(ata_generic and pata_via)
function old new delta
process_module 615 728 +113
parse_module 309 395 +86
find_alias 621 653 +32
pathname_matches_modname 78 79 +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 232/0) Total: 232 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/head.c')
0 files changed, 0 insertions, 0 deletions