author | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 18 Jan 2016 15:44:52 +0000 (16:44 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 22 Jan 2016 09:38:08 +0000 (10:38 +0100) | ||
commit | 573db6cb7d8904468546746117efbd989d4a5843 | |
tree | 72eefa29246a0036c60ba04b9f5678daee6f336d | tree | snapshot |
parent | e68993d241360e8da64e1c1f2d8adb3bc7f67e34 | commit | diff |
df: remove legacy code skipping "rootfs" monitoring
3512bb1 added code to skip duplicate reporting of `rootfs` mounted on `/`.
f9c1c5b and f0398d0 added generic code to skip any volume mounted twice.
Depending on the order of the entries in `/etc/mtab`, reporting for `/` was
entirely skipped.
This patch basically reverts the first, non-generic patch, as it's
superseded by the 2 others.
Fixes #1402
Signed-off-by: Florian Forster <octo@collectd.org>
3512bb1 added code to skip duplicate reporting of `rootfs` mounted on `/`.
f9c1c5b and f0398d0 added generic code to skip any volume mounted twice.
Depending on the order of the entries in `/etc/mtab`, reporting for `/` was
entirely skipped.
This patch basically reverts the first, non-generic patch, as it's
superseded by the 2 others.
Fixes #1402
Signed-off-by: Florian Forster <octo@collectd.org>
src/df.c | diff | blob | history |