Bug#298762: lvm2: FTBFS on amd64: no O_NOATIME.

Kurt Roeckx Kurt Roeckx <kurt@roeckx.be>, 298762@bugs.debian.org
Wed, 9 Mar 2005 20:41:01 +0100


--EVF5PPMfhYS0aIcm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: lvm2
Version: 2.01.04-3
Severity: important
Tags: patch

Hi,

The latest version of lvm2 seems to have added bits/fcntl.h for
most arches with a define for O_NOATIME.  

The attached patch adds one for amd64 too.


Kurt


--EVF5PPMfhYS0aIcm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="lvm2_noatime.diff"

--- ./debian/include/amd64/bits/fcntl.h.old	2005-03-09 20:36:58.853157210 +0100
+++ ./debian/include/amd64/bits/fcntl.h	2005-03-09 20:33:42.290982226 +0100
@@ -0,0 +1,5 @@
+#include_next <bits/fcntl.h>
+
+#ifdef __USE_GNU
+# define O_NOATIME     01000000 /* Do not set atime.  */
+#endif

--EVF5PPMfhYS0aIcm--