disk plugin: Support Linux kernels with additional fields.
authorFlorian Forster <octo@collectd.org>
Fri, 12 Oct 2018 11:18:42 +0000 (13:18 +0200)
committerFlorian Forster <octo@collectd.org>
Fri, 12 Oct 2018 11:18:42 +0000 (13:18 +0200)
commit6ce52f70cc1e6450df3454f19743a29295b84050
tree4e018120a5d41a64e5b0f9449578a0831e299a39
parent373c41d2206603fec5c19019e0fec037ffcbeab4
disk plugin: Support Linux kernels with additional fields.

Linux 4.19 will add additional counters, which caused this plugin to
bail out because it checked the number of fields exactly instead of
ensuring that there are *at least* the number of fields expected.

Fixes: #2951
src/disk.c