coredump: vacuum - fix calculation of 10% of fs size for MaxUse
This commit is contained in:
parent
926695f1b5
commit
cd4ba18a84
|
@ -104,8 +104,8 @@ static bool vacuum_necessary(int fd, off_t sum, off_t keep_free, off_t max_use)
|
|||
if (max_use < DEFAULT_MAX_USE_LOWER)
|
||||
max_use = DEFAULT_MAX_USE_LOWER;
|
||||
}
|
||||
|
||||
max_use = DEFAULT_MAX_USE_LOWER;
|
||||
else
|
||||
max_use = DEFAULT_MAX_USE_LOWER;
|
||||
} else
|
||||
max_use = PAGE_ALIGN(max_use);
|
||||
|
||||
|
|
Loading…
Reference in a new issue