summaryrefslogtreecommitdiff
path: root/catalog
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2017-01-24 14:29:57 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-01-24 08:29:57 -0500
commit2d058a87ffb2d31a50422a8aebd119bbb4427244 (patch)
treead8a1da2ac1fa315dc78385773365668702ae191 /catalog
parenta341dfe563bf3be791107a0c98d47f74366c637d (diff)
downloadsystemd-2d058a87ffb2d31a50422a8aebd119bbb4427244.tar.gz
core: don't load dropin data multiple times for the same unit (#5139)
When an alias is loaded, we resolve this alias to its final unit first to load the dropin data. However if the final unit was already loaded, there's no point in reloading the dropin data a second time. This patch optimizes this case. Also this allows the dropin loading code to assume that only units not yet loaded are passed down. This assumption is not yet used but might be in the future. [zj: invert the condition in the if]
Diffstat (limited to 'catalog')
0 files changed, 0 insertions, 0 deletions