X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdf.c;h=1e360099ab50f41d894653f15dfe847049f2d385;hb=9521a596cb88b044a2f08db53520edd6e15c8d39;hp=ef9e41307d8d2e9a1cba8eeba5b82bf8e54dd731;hpb=f9a6df05238501ca41931af0d8d51acea716c105;p=collectd.git diff --git a/src/df.c b/src/df.c index ef9e4130..1e360099 100644 --- a/src/df.c +++ b/src/df.c @@ -22,6 +22,7 @@ **/ #include "collectd.h" + #include "common.h" #include "plugin.h" #include "configfile.h" @@ -53,7 +54,6 @@ static const char *config_keys[] = "FSType", "IgnoreSelected", "ReportByDevice", - "ReportReserved", "ReportInodes", "ValuesAbsolute", "ValuesPercentage" @@ -271,11 +271,7 @@ static int df_read (void) else { if (strcmp (mnt_ptr->dir, "/") == 0) - { - if (strcmp (mnt_ptr->type, "rootfs") == 0) - continue; sstrncpy (disk_name, "root", sizeof (disk_name)); - } else { int i, len;