* HAVE_SYS_FS_H is incorrect (should be HAVE_LINUX_FS_H)
* linux/fs.h cannot be included together with sys/mount.h as the both
files define MS_* constants. The libmount.h includes sys/mount.h now.
Signed-off-by: Karel Zak <kzak@redhat.com>
#include <sys/ioctl.h>
#include <sys/stat.h>
-#ifdef HAVE_SYS_FS_H
-# include <linux/fs.h>
-#endif
-
#include "nls.h"
#include "strutils.h"
#include "c.h"
#include <libmount.h>
+
+/* We cannot include linux/fs.h due to MS_* constants collision with
+ * sys/mount.h (and libmount.h)
+ */
#ifndef FITRIM
struct fstrim_range {
uint64_t start;