Revert "collectd: Use libstatgrab for reading disk stats"

This reverts commit 86beff5f75.

This patch breaks reading statistics on systems running a 4.14 kernel.
It seems like it is not dependant on the kernel, though.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2021-06-08 14:05:57 +00:00
parent c253116d25
commit abd5cc3cb7
2 changed files with 0 additions and 14 deletions

View File

@@ -1,13 +0,0 @@
diff --git a/src/disk.c b/src/disk.c
index 4a78f1bd..c6f9e4bd 100644
--- a/src/disk.c
+++ b/src/disk.c
@@ -428,7 +428,7 @@ static int disk_read (void)
IOObjectRelease (disk_list);
/* #endif HAVE_IOKIT_IOKITLIB_H */
-#elif KERNEL_LINUX
+#elif 0
FILE *fh;
char buffer[1024];