diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-08-31 11:01:35 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-08-31 11:01:35 +0200 |
commit | 39ea7c6c67de69379b603196a0eff6f7ce2e469a (patch) | |
tree | ff59c2c89c36f054ef83c9aaf0f9ec93e71922f0 | |
parent | 89e0a02226cbadf6a58c4d234e31c7111eed20bc (diff) |
increase WAIT_FOR_SYSFS timeout to 10 seconds
We see SCSI disks where it takes 6.5 seconds to populate the
sysfs attributes.
-rw-r--r-- | udev_rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_rules.c b/udev_rules.c index ef352ca2bc..dcd091485b 100644 --- a/udev_rules.c +++ b/udev_rules.c @@ -1040,7 +1040,7 @@ static int match_rule(struct udevice *udev, struct udev_rule *rule) if (rule->wait_for_sysfs.operation != KEY_OP_UNSET) { int found; - found = (wait_for_sysfs(udev, key_val(rule, &rule->wait_for_sysfs), 3) == 0); + found = (wait_for_sysfs(udev, key_val(rule, &rule->wait_for_sysfs), 10) == 0); if (!found && (rule->wait_for_sysfs.operation != KEY_OP_NOMATCH)) goto nomatch; } |