Skip to contentSkip to conversation

LVM2 ./WHATS_NEW include/.symlinks libdm/misc/ ...

PATCH [email protected] 1 participant 1 message Oct 30, 2008

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2008-10-30 15:31:33

Modified files:
. : WHATS_NEW
include : .symlinks
Added files:
libdm/misc : dm-ioctl.h kdev_t.h

Log message:
Add libdm subdir to begin merging the device-mapper tree.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.983&r2=1.984
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/misc/dm-ioctl.h.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/misc/kdev_t.h.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/include/.symlinks.diff?cvsroot=lvm2&r1=1.47&r2=1.48

WHATS_NEW +1 -0
@@ -1,5 +1,6 @@
 Version 2.02.43 -
 ===================================
+  Add libdm subdirectory for libdevmapper files.
 
 Version 2.02.42 - 26th October 2008
 ===================================

/cvs/lvm2/LVM2/libdm/misc/dm-ioctl.h,v --> standard output revision 1.1

- renamed from libdm/misc/dm-ioctl.h +304 -0

304 lines not on this page · raw message

/cvs/lvm2/LVM2/libdm/misc/kdev_t.h,v --> standard output revision 1.1

- renamed from libdm/misc/kdev_t.h +22 -0
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
+ *
+ * This file is part of LVM2.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License v.2.1.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef _LIBDM_KDEV_H
+#define _LIBDM_KDEV_H
+
+#define MAJOR(dev)      ((dev & 0xfff00) >> 8)
+#define MINOR(dev)      ((dev & 0xff) | ((dev >> 12) & 0xfff00))
+#define MKDEV(ma,mi)    ((mi & 0xff) | (ma << 8) | ((mi & ~0xff) << 12))
+
+#endif
include/.symlinks +2 -0
@@ -48,5 +48,7 @@
 ../lib/misc/sharedlib.h
 ../lib/report/report.h
 ../lib/uuid/uuid.h
+../libdm/misc/dm-ioctl.h
+../libdm/misc/kdev_t.h
 ../po/pogen.h
 ../tools/version.h