summaryrefslogtreecommitdiff
path: root/zfsutils/debian/patches/libdiskmgt-avoid-meta.h.patch
blob: aea9be7b2173928ed08b617037efacb8ca54ebdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Index: libdiskmgt/usr/src/lib/libdiskmgt/common/inuse_svm.c
===================================================================
--- libdiskmgt.orig/usr/src/lib/libdiskmgt/common/inuse_svm.c	2012-10-08 00:25:38.000000000 +0000
+++ libdiskmgt/usr/src/lib/libdiskmgt/common/inuse_svm.c	2012-11-11 23:20:11.644213024 +0000
@@ -29,7 +29,6 @@
  * Creates and maintains a cache of slices used by SVM.
  */
 
-#include <meta.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
@@ -42,6 +41,11 @@
 #include <syslog.h>
 #include <sys/types.h>
 #include <sys/sysevent/eventdefs.h>
+#include <sys/lvm/md_mdiox.h>
+
+#ifndef PRINT_FAST
+#define PRINT_FAST              0x00000080
+#endif
 
 #include "libdiskmgt.h"
 #include "disks_private.h"