public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 libdm/libdm-common.c udev/13-dm-disk.rules
@ 2009-10-26 21:38 prajnoha
  0 siblings, 0 replies; only message in thread
From: prajnoha @ 2009-10-26 21:38 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	prajnoha@sourceware.org	2009-10-26 21:38:36

Modified files:
	libdm          : libdm-common.c 
	udev           : 13-dm-disk.rules 

Log message:
	Cleanup of previous commit with latest changes in udev support code.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/libdm-common.c.diff?cvsroot=lvm2&r1=1.88&r2=1.89
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/udev/13-dm-disk.rules.diff?cvsroot=lvm2&r1=1.2&r2=1.3

--- LVM2/libdm/libdm-common.c	2009/10/26 14:29:34	1.88
+++ LVM2/libdm/libdm-common.c	2009/10/26 21:38:35	1.89
@@ -1158,7 +1158,8 @@
 		goto bad;
 	}
 
-	dmt->event_nr = (0x0000FFFF & *cookie) | (flags << 16);
+	dmt->event_nr = (~DM_UDEV_FLAGS_MASK & *cookie) |
+			(flags << DM_UDEV_FLAGS_SHIFT);
 	dmt->cookie_set = 1;
 
 	log_debug("Udev cookie 0x%" PRIx32 " (semid %d) assigned to dm_task "
--- LVM2/udev/13-dm-disk.rules	2009/10/26 14:29:34	1.2
+++ LVM2/udev/13-dm-disk.rules	2009/10/26 21:38:35	1.3
@@ -6,7 +6,7 @@
 # suspended.
 
 # "add" event is processed on coldplug only!
-ACTION!="add|change", GOTO="dm_end"
+ACTION!="add|change", GOTO="dm_other"
 ENV{DM_UDEV_RULES_VSN}!="?*", GOTO="dm_other"
 ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}=="1", GOTO="dm_other"
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-26 21:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-26 21:38 LVM2 libdm/libdm-common.c udev/13-dm-disk.rules prajnoha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).