diff options
| author | mlelstv <mlelstv@NetBSD.org> | 2010-01-02 15:20:39 +0000 |
|---|---|---|
| committer | mlelstv <mlelstv@NetBSD.org> | 2010-01-02 15:20:39 +0000 |
| commit | d5c1a554d814a4b56f35acc4f298abe769bf9954 (patch) | |
| tree | db74912db388377c0058d24f52c6915d3f0b7f8a /sys/dev/dm/dm_pdev.c | |
| parent | 9d6449710b57421d6f654909ae4197a2fc9bca92 (diff) | |
Move initialization of pool_allocator_lock before its first use.
This failed on archs where a mutex isn't initialized to a zero
value.
Defer allocation of pool log to the logging action, if allocation
fails, it will be retried the next time something is logged.
Clear pool log on allocation so that ddb doesn't crash when showing
so far unused log entries.
Diffstat (limited to 'sys/dev/dm/dm_pdev.c')
0 files changed, 0 insertions, 0 deletions
