diff options
author | Alexander Motin <[email protected]> | 2020-02-04 11:49:12 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-04 08:49:12 -0800 |
commit | 741db5a3466236620612772319c3401171d3f2b6 (patch) | |
tree | a2e1b4bb693457a94ae45e87f29301eaf4210657 /include/sys/dbuf.h | |
parent | 52c487a0e4432269b0b0ddc034155a8cf62e0299 (diff) |
Prepare ks_data before calling kstat_install()
It violated sequence described in kstat.h, and at least on FreeBSD
kstat_install() uses provided names to create the sysctls. If the
names are not available at the time, it ends up bad.
Reviewed-by: Igor Kozhukhov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Alexander Motin <[email protected]>
Sponsored-By: iXsystems, Inc.
Closes #9933
Diffstat (limited to 'include/sys/dbuf.h')
0 files changed, 0 insertions, 0 deletions