mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-09 22:03:09 -05:00
check_disk: Remove weird code (workaround?) which broke with gnulib update
This commit is contained in:
parent
2e5bc5ee07
commit
05ab60f808
1 changed files with 1 additions and 1 deletions
|
|
@ -1056,7 +1056,7 @@ get_path_stats (struct parameter_list *p, struct fs_usage *fsp) {
|
|||
p->dfree_units = p->available*fsp->fsu_blocksize/mult;
|
||||
p->dtotal_units = p->total*fsp->fsu_blocksize/mult;
|
||||
/* Free file nodes. Not sure the workaround is required, but in case...*/
|
||||
p->inodes_free = fsp->fsu_favail > fsp->fsu_ffree ? 0 : fsp->fsu_favail;
|
||||
p->inodes_free = fsp->fsu_ffree;
|
||||
p->inodes_free_to_root = fsp->fsu_ffree; /* Free file nodes for root. */
|
||||
p->inodes_used = fsp->fsu_files - fsp->fsu_ffree;
|
||||
if (freespace_ignore_reserved) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue