mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 02:20:59 +03:00
zed: remove zed_conf::syslog_facility
No users, nobody sets it, main() hard-codes LOG_DAEMON, which is the only correct value for this Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #11860
This commit is contained in:
parent
487cd2df11
commit
c30fef2523
@ -43,7 +43,6 @@ zed_conf_create(void)
|
|||||||
if (!zcp)
|
if (!zcp)
|
||||||
goto nomem;
|
goto nomem;
|
||||||
|
|
||||||
zcp->syslog_facility = LOG_DAEMON;
|
|
||||||
zcp->min_events = ZED_MIN_EVENTS;
|
zcp->min_events = ZED_MIN_EVENTS;
|
||||||
zcp->max_events = ZED_MAX_EVENTS;
|
zcp->max_events = ZED_MAX_EVENTS;
|
||||||
zcp->pid_fd = -1;
|
zcp->pid_fd = -1;
|
||||||
|
@ -26,7 +26,6 @@ struct zed_conf {
|
|||||||
unsigned do_verbose:1; /* true if verbosity enabled */
|
unsigned do_verbose:1; /* true if verbosity enabled */
|
||||||
unsigned do_zero:1; /* true if zeroing state */
|
unsigned do_zero:1; /* true if zeroing state */
|
||||||
unsigned do_idle:1; /* true if idle enabled */
|
unsigned do_idle:1; /* true if idle enabled */
|
||||||
int syslog_facility; /* syslog facility value */
|
|
||||||
int min_events; /* RESERVED FOR FUTURE USE */
|
int min_events; /* RESERVED FOR FUTURE USE */
|
||||||
int max_events; /* RESERVED FOR FUTURE USE */
|
int max_events; /* RESERVED FOR FUTURE USE */
|
||||||
char *pid_file; /* abs path to pid file */
|
char *pid_file; /* abs path to pid file */
|
||||||
|
Loading…
Reference in New Issue
Block a user