diff --git a/src/df.c b/src/df.c
index ae09e6b7cfee834d69de231dda572993f056873e..cb0ff2ffe2ba5bfcefb046c0502021b27f4411c6 100644 (file)
--- a/src/df.c
+++ b/src/df.c
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
* Authors:
- * Florian octo Forster <octo at verplant.org>
+ * Florian octo Forster <octo at collectd.org>
* Paul Sadauskas <psadauskas at gmail.com>
**/
}
/* inode handling */
- if (report_inodes)
+ if (report_inodes && statbuf.f_files != 0 && statbuf.f_ffree != 0)
{
uint64_t inode_free;
uint64_t inode_reserved;