Silence notice on pool creation, import and access.
Suggested by: Jeremy Chadwick (freebsd-stable@) Discussed with: pjd MFC after: 1 week
This commit is contained in:
parent
5bdda7f91b
commit
c129cb6c4f
@ -500,9 +500,11 @@ spa_history_log_version(spa_t *spa, history_internal_events_t event)
|
|||||||
utsname.nodename, utsname.release, utsname.version,
|
utsname.nodename, utsname.release, utsname.version,
|
||||||
utsname.machine);
|
utsname.machine);
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
cmn_err(CE_CONT, "!%s version %llu pool %s using %llu",
|
cmn_err(CE_CONT, "!%s version %llu pool %s using %llu",
|
||||||
event == LOG_POOL_IMPORT ? "imported" :
|
event == LOG_POOL_IMPORT ? "imported" :
|
||||||
event == LOG_POOL_CREATE ? "created" : "accessed",
|
event == LOG_POOL_CREATE ? "created" : "accessed",
|
||||||
(u_longlong_t)current_vers, spa_name(spa), SPA_VERSION);
|
(u_longlong_t)current_vers, spa_name(spa), SPA_VERSION);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user