mirror of
https://github.com/versity/scoutfs.git
synced 2026-02-04 09:42:06 +00:00
Move functions for printing and validating the quorum config from mkfs.c to quorum.c so that they can be used in an upcoming command to change the quorum config. Signed-off-by: Zach Brown <zab@versity.com>
11 lines
279 B
C
11 lines
279 B
C
#ifndef _QUORUM_H_
|
|
#define _QUORUM_H_
|
|
|
|
#include <stdbool.h>
|
|
|
|
bool quorum_slot_present(struct scoutfs_super_block *super, int i);
|
|
bool valid_quorum_slots(struct scoutfs_quorum_slot *slots);
|
|
void print_quorum_slots(struct scoutfs_quorum_slot *slots, int nr, char *indent);
|
|
|
|
#endif
|