1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

Fix device.c #include to ensure 64-bit fopen64 use. (2.02.51) (robbat2)

This commit is contained in:
Alasdair Kergon 2010-12-15 12:49:55 +00:00
parent af979c3b2d
commit 22bb69eb99
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.79 - 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. Create /var/run/lvm directory during clvmd initialisation if missing.
Use new dm_prepare_selinux_context instead of dm_set_selinux_context. Use new dm_prepare_selinux_context instead of dm_set_selinux_context.
Avoid revalidating the label cache immediately after scanning. Avoid revalidating the label cache immediately after scanning.

View File

@ -13,7 +13,6 @@
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include <libgen.h> /* dirname, basename */
#include "lib.h" #include "lib.h"
#include "lvm-types.h" #include "lvm-types.h"
#include "device.h" #include "device.h"
@ -21,6 +20,8 @@
#include "filter.h" #include "filter.h"
#include "xlate.h" #include "xlate.h"
#include <libgen.h> /* dirname, basename */
/* See linux/genhd.h and fs/partitions/msdos */ /* See linux/genhd.h and fs/partitions/msdos */
#define PART_MAGIC 0xAA55 #define PART_MAGIC 0xAA55