summaryrefslogtreecommitdiff
path: root/src/fstab-generator
diff options
context:
space:
mode:
authorMichal Sekletar <msekleta@redhat.com>2021-03-04 17:35:22 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-03-06 15:33:05 +0900
commit996c83903da5bf8b371314b4207ff97afeef65a4 (patch)
treea3bd60a1cc53a9588d8a384fc0bff9cf7a2c54d1 /src/fstab-generator
parentc2cbe0570888f31e10586d6b20ce1f2b8b910232 (diff)
downloadsystemd-996c83903da5bf8b371314b4207ff97afeef65a4.tar.gz
udev: run link_update() with increased retry count in second invocation
In PR #17431 we have introduced retry loop in link_update() in order to maximize the chance that we end up with correct target when there are multiple contenders for given symlink. Number of iterations in retry loop is either 1 or LINK_UPDATE_MAX_RETRIES, depending on the value of 'initialized' db flag. When device appears for the first time we need to set the flag before calling link_update() via update_devnode() for the second time to make sure we run the second invocation with higher retry loop counter.
Diffstat (limited to 'src/fstab-generator')
0 files changed, 0 insertions, 0 deletions