public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 libdm/libdm-common.c ./WHATS_NEW_DM
@ 2009-09-03 21:51 wysochanski
  0 siblings, 0 replies; only message in thread
From: wysochanski @ 2009-09-03 21:51 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	wysochanski@sourceware.org	2009-09-03 21:51:26

Modified files:
	libdm          : libdm-common.c 
	.              : WHATS_NEW_DM 

Log message:
	Restore umask when device node creation fails.
	
	Author: Florian Zumbiehl <florz@florz.de>
	Acked-by: Dave Wysochanski <dwysocha@redhat.com>

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/libdm-common.c.diff?cvsroot=lvm2&r1=1.76&r2=1.77
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW_DM.diff?cvsroot=lvm2&r1=1.294&r2=1.295

--- LVM2/libdm/libdm-common.c	2009/08/06 15:04:30	1.76
+++ LVM2/libdm/libdm-common.c	2009/09/03 21:51:26	1.77
@@ -360,6 +360,7 @@
 
 	old_mask = umask(0);
 	if (mknod(path, S_IFBLK | mode, dev) < 0) {
+		umask(old_mask);
 		log_error("Unable to make device node for '%s'", dev_name);
 		return 0;
 	}
--- LVM2/WHATS_NEW_DM	2009/08/13 19:36:04	1.294
+++ LVM2/WHATS_NEW_DM	2009/09/03 21:51:26	1.295
@@ -1,5 +1,6 @@
 Version 1.02.37 -
 =================================
+  Restore umask when device node creation fails.
   Fix mirror table CTR code to handle 'block_on_error' and 'cluster' features
 
 Version 1.02.36 - 6th August 2009


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

only message in thread, other threads:[~2009-09-03 21:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-03 21:51 LVM2 libdm/libdm-common.c ./WHATS_NEW_DM wysochanski

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).