mirror of
https://github.com/XTXMarkets/ternfs.git
synced 2025-12-21 10:40:04 -06:00
CPP hygiene, debug leftovers
This commit is contained in:
@@ -365,7 +365,7 @@ static bool rs_has_cpu_level_core(enum rs_cpu_level level) {
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#define RS_SIZE(D, P) (sizeof(struct rs) + (D+P)*D + D*P*32)
|
||||
#define RS_SIZE(D, P) (sizeof(struct rs) + ((D)+(P))*(D) + (D)*(P)*32)
|
||||
|
||||
static void rs_new_core(u8 parity, struct rs* r) {
|
||||
int B = rs_blocks_core(parity);
|
||||
|
||||
@@ -65,13 +65,6 @@ static struct ctl_table eggsfs_cb_sysctls[] = {
|
||||
.proc_handler = eggsfs_drop_spans_sysctl,
|
||||
},
|
||||
|
||||
#if 0
|
||||
{
|
||||
.procname = "refresh_info",
|
||||
.data = &refresh_info,
|
||||
}
|
||||
#endif
|
||||
|
||||
EGGSFS_CTL_INT_TIME(dir_refresh_time),
|
||||
|
||||
EGGSFS_CTL_ULONG(span_cache_max_size_async),
|
||||
|
||||
Reference in New Issue
Block a user