From 22bb69eb99de9350cb978b5b0ee25e40fbd5add9 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Wed, 15 Dec 2010 12:49:55 +0000 Subject: [PATCH] Fix device.c #include to ensure 64-bit fopen64 use. (2.02.51) (robbat2) --- WHATS_NEW | 1 + lib/device/device.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/WHATS_NEW b/WHATS_NEW index aff5ab9fa..03d2dc9cf 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.79 - =================================== + Fix device.c #include to ensure 64-bit fopen64 use. (2.02.51) Create /var/run/lvm directory during clvmd initialisation if missing. Use new dm_prepare_selinux_context instead of dm_set_selinux_context. Avoid revalidating the label cache immediately after scanning. diff --git a/lib/device/device.c b/lib/device/device.c index 91eb14c88..80b447942 100644 --- a/lib/device/device.c +++ b/lib/device/device.c @@ -13,7 +13,6 @@ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include /* dirname, basename */ #include "lib.h" #include "lvm-types.h" #include "device.h" @@ -21,6 +20,8 @@ #include "filter.h" #include "xlate.h" +#include /* dirname, basename */ + /* See linux/genhd.h and fs/partitions/msdos */ #define PART_MAGIC 0xAA55