mdev: don't reparse rules on -s
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 22 Sep 2011 01:46:30 +0000 (03:46 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 22 Sep 2011 01:46:30 +0000 (03:46 +0200)
commit3eccd7ecbe6f34e60cbc04ada9abb87313fbfc00
tree89dd63ac4b65de1702b7dc934646c578ab08d7e9
parent16714245f9a16ce3725aab079aea7b0d28c6b32f
mdev: don't reparse rules on -s

function                                             old     new   delta
make_device                                         1648    1843    +195
clean_up_cur_rule                                      -      61     +61
make_default_cur_rule                                  -      41     +41
mdev_main                                            690     712     +22
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 2/0 up/down: 319/0)             Total: 319 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/mdev.c