diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-03-16 15:16:08 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-03-16 15:16:08 +0100 |
commit | 2dbb47f8606d18b14e981fb5cf245e8aaaad2de1 (patch) | |
tree | 7935d01e23f4f5b7305292a98685f491d75549ab /udev_rules.c | |
parent | fc6da921ad3bcb251aa317376e81701700e925c9 (diff) |
add link_priority to rule options, and store it in database
Diffstat (limited to 'udev_rules.c')
-rw-r--r-- | udev_rules.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/udev_rules.c b/udev_rules.c index 7ab3bba71c..c0f4cd2077 100644 --- a/udev_rules.c +++ b/udev_rules.c @@ -909,6 +909,10 @@ int udev_rules_get_name(struct udev_rules *rules, struct udevice *udev) udev->ignore_remove = 1; dbg("remove event should be ignored"); } + if (rule->link_priority) { + udev->link_priority = rule->link_priority; + info("link_priority=%i", udev->link_priority); + } /* apply all_partitions option only at a main block device */ if (rule->partitions && strcmp(udev->dev->subsystem, "block") == 0 && udev->dev->kernel_number[0] == '\0') { |