Limit maximum consecutive newlines in uncrustify configuration

This commit is contained in:
Andrea Mazzoleni 2026-09-14 22:21:16 +02:00
parent 918a6a192b
commit 78abc2c7b7
17 changed files with 3 additions and 26 deletions

View file

@ -343,8 +343,6 @@ static void state_config_check(struct snapraid_state* state, const char* path, t
}
}
if (!state->opt.skip_parity_access) {
for (l = 0; l < state->level; ++l) {
for (s = 0; s < state->parity[l].split_mac; ++s) {
@ -2021,7 +2019,6 @@ void state_refresh(struct snapraid_state* state)
log_tag("fsinfo_extra:%s:%" PRIu64 ":%" PRIu64 "\n", esc_tag(extra->name), total_space, free_space);
}
/*
* Note what we don't set need_write = 1, because we don't want
* to update the content file only for the free space info.
@ -6477,7 +6474,6 @@ void generate_configuration(const char* path)
state_done(&state);
}
/**
* Establish a durable I/O barrier: drain asynchronous writes, collect their
* errors, sync parity only if all writes succeeded, then quiesce read-ahead.