Skip to contentSkip to conversation

multipath-tools/kpartx kpartx.c lopart.c

PATCH [email protected] 1 participant 1 message Aug 26, 2008 Device mapper

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: [email protected] 2008-08-26 03:50:28

Modified files:
kpartx : kpartx.c lopart.c

Log message:
Fix for 454928. Set kpartx to use 64bit versions of file operation functions.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/kpartx/kpartx.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.9.2.1&r2=1.9.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/kpartx/lopart.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.2&r2=1.2.4.1

kpartx/kpartx.c +1 -1
@@ -18,7 +18,7 @@
  * aeb, 2000-03-21
  * cva, 2002-10-26
  */
-
+#define _FILE_OFFSET_BITS 64
 #include <stdio.h>
 #include <fcntl.h>
 #include <errno.h>
kpartx/lopart.c +1 -1
@@ -13,7 +13,7 @@
 /*
  * losetup.c - setup and control loop devices
  */
-
+#define _FILE_OFFSET_BITS 64
 #include "kpartx.h"
 #include <stdio.h>
 #include <string.h>