|
Description
|
kstat_zone_find() in kstat_fr.c is declared in the header kstat.h. However, to call kstat_zone_find(), you must be holding kstat_chain_lock - which is static in kstat_fr.c, and therefore cannot be taken by anyone outside the file.
There should be two versions, kstat_zone_find and kstat_zone_find_locked, where the former takes the lock and calls the latter, and the current callers internal to kstat_fr.c should use kstat_zone_find_locked().
|