diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2015-09-29 12:14:16 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2015-09-30 13:23:49 +0800 |
commit | 420f0e2c5d8338b42047c58f055cdb944685ead7 (patch) | |
tree | 4a57a7a3680df4cdf6d4442acb85a6c9898b2ca1 /discover/sysinfo.h | |
parent | 9e0b6b31c9bb5ce3ad72756c918f02e6e909c737 (diff) | |
download | talos-petitboot-420f0e2c5d8338b42047c58f055cdb944685ead7.tar.gz talos-petitboot-420f0e2c5d8338b42047c58f055cdb944685ead7.zip |
discover/ipmi: Use advisory locking on ipmi device
The ipmi module is shared between pb-config and pb-discover. During
system initilisation, we're likely to have a few invocations of
pb-config running, as well as pb-discover starting.
We may have multiple potential concurrent accesses to the ipmi device
node. To avoid problems, this change introduces a fcntl lock on the
device node.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/sysinfo.h')
0 files changed, 0 insertions, 0 deletions