Skip to contentSkip to conversation

LVM2/libdm ioctl/libdm-iface.c misc/dm-ioctl.h

PATCH [email protected] 1 participant 1 message Oct 25, 2010

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2010-10-25 11:44:21

Modified files:
libdm/ioctl : libdm-iface.c
libdm/misc : dm-ioctl.h

Log message:
Use a more-generic name for the new kernel flag so list_devices can share it.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/ioctl/libdm-iface.c.diff?cvsroot=lvm2&r1=1.82&r2=1.83
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/misc/dm-ioctl.h.diff?cvsroot=lvm2&r1=1.6&r2=1.7

libdm/ioctl/libdm-iface.c +1 -1
@@ -1542,7 +1542,7 @@
 				  "kernel.  Aborting operation.");
 			goto bad;
 		}
-		dmi->flags |= DM_NEW_UUID_FLAG;
+		dmi->flags |= DM_UUID_FLAG;
 	}
 
 	dmi->target_count = count;
libdm/misc/dm-ioctl.h +1 -1
@@ -328,6 +328,6 @@
  * If set, rename changes the uuid not the name.  Only permitted
  * if no uuid was previously supplied: an existing uuid cannot be changed.
  */
-#define DM_NEW_UUID_FLAG        (1 << 14) /* In */
+#define DM_UUID_FLAG			(1 << 14) /* In */
 
 #endif				/* _LINUX_DM_IOCTL_H */