mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-02 22:54:52 +00:00
7d6932d20a
If multiple ctladm processes try to load ctl.ko at the same time, only one will succeed. Handle this possibility by retrying the operation (open /dev/cam/ctl) if kldload returns EEXIST, rather than bailing. This at least helps ensure that ctladm tests can be run in parallel when ctl.ko is not preloaded. Reviewed by: asomers MFC after: 1 week |
||
---|---|---|
.. | ||
tests | ||
ctladm.8 | ||
ctladm.c | ||
ctladm.h | ||
Makefile | ||
Makefile.depend | ||
util.c |