File sys_mount_instead_linux_fs.diff of Package lvm2

--- lib/device/dev-io.c
+++ lib/device/dev-io.c	2005/04/11 10:53:52
@@ -32,7 +32,7 @@
 #  undef WNOHANG		/* Avoid redefinition */
 #  undef WUNTRACED		/* Avoid redefinition */
 #  define _LINUX_AUDIT_H_	/* Avoid inclusion */
-#  include <linux/fs.h>		/* For block ioctl definitions */
+#  include <sys/mount.h>        /* For block ioctl definitions */
 #  define BLKSIZE_SHIFT SECTOR_SHIFT
 #  ifndef BLKGETSIZE64		/* fs.h out-of-date */
 #    define BLKGETSIZE64 _IOR(0x12, 114, size_t)
--- lib/filters/filter.c
+++ lib/filters/filter.c	2005/04/11 10:54:57
@@ -15,7 +15,7 @@
 
 #include <sys/ioctl.h>
 #define _LINUX_AUDIT_H_
-#include <linux/fs.h>
+#include <sys/mount.h>
 #undef MAJOR
 #undef MINOR
 #undef MKDEV
openSUSE Build Service is sponsored by