]> sourceware.org Git - lvm2.git/commitdiff
pre-release v2_02_76
authorAlasdair Kergon <agk@redhat.com>
Mon, 8 Nov 2010 19:37:40 +0000 (19:37 +0000)
committerAlasdair Kergon <agk@redhat.com>
Mon, 8 Nov 2010 19:37:40 +0000 (19:37 +0000)
VERSION
VERSION_DM
WHATS_NEW
WHATS_NEW_DM
daemons/clvmd/clvmd.c

diff --git a/VERSION b/VERSION
index 33a6cefde94a8d59e9e0757f154261b5770c3be3..1464a3042ed91b8ddadf26ba4768eb585994b44b 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.02.76(2)-cvs (2010-10-25)
+2.02.76(2)-cvs (2010-11-08)
index d5f921b125e00b6a973c9a3aa50b7e94b0792973..08acb60ce4dd95cd8453d4fce9e5e76d412b7c77 100644 (file)
@@ -1 +1 @@
-1.02.57-cvs (2010-10-25)
+1.02.57-cvs (2010-11-08)
index 6dca0483bd3f311e0d1e2704b6912b2ead56060f..f18f13593b2c8197501d15882b3698fbad643514 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,16 +1,16 @@
-Version 2.02.76 - 
+Version 2.02.76 - 8th November 2010
 ===================================
   Clarify error messages when activation fails due to activation filter use.
-  Add initial script VolumeGroup.ocf for pacemaker support.
-  Fix regex optimiser not to ignore RHS of OR nodes in _find_leftmost_common.
+  Add pacemaker script VolumeGroup.ocf with configure --enable-ocf.
+  Import make.tmpl into include/ Makefile.
   Fix handling of online filesystem resize (using new fsadm return code).
   Add DIAGNOSTICS section to fsadm man page.
   Modify fsadm to return different status code for check of mounted filesystem.
   Update VG metadata only once in vgchange when making multiple changes.
   Allow independent vgchange arguments to be used together.
   Automatically unmount invalidated snapshots in dmeventd.
+  Suppress some superfluous messages from clang static analysis.
   Fix a deadlock caused by double close in clvmd.
-  Add dmeventd -R to restart dmeventd without losing monitoring state. (2.02.75)
   Fix NULL pointer dereference on too-large MDA error path in _vg_read_raw_area.
   Use static for internal _align_chunk() and _new_chunk() from pool-fast.c.
   Fix vgchange to process -a, --refresh, --monitor and --poll like lvchange.
index fbe691bdfa5dd71ba9ca321c99737c1de53ff887..1089a2ebeade5c9d0114c930643db802171ae4a7 100644 (file)
@@ -1,5 +1,7 @@
-Version 1.02.57
+Version 1.02.57 - 8th November 2010
 ===================================
+  Fix regex optimiser not to ignore RHS of OR nodes in _find_leftmost_common.
+  Add dmeventd -R to restart dmeventd without losing monitoring state. (1.02.56)
   Fix memory leak of field_id in _output_field function.
   Allocate buffer for reporting functions dynamically to support long outputs.
 
index 706f15bcc1492015296b491bfe97f719320f9449..1a9d40e28f4a4fc3359d1bf3b654e38a5f87d7a2 100644 (file)
@@ -184,8 +184,12 @@ static void child_init_signal(int status)
                write(child_pipe[1], &status, sizeof(status));
                close(child_pipe[1]);
        }
-       if (status)
-               exit(status);
+}
+
+static __attribute__((noreturn)) void child_init_signal_and_exit(int status) 
+{
+       child_init_signal(status);
+       exit(status);
 }
 
 static void safe_close(int *fd)
@@ -420,8 +424,10 @@ int main(int argc, char *argv[])
           potential clients will block rather than error if we are running
           but the cluster is not ready yet */
        local_sock = open_local_sock();
-       if (local_sock < 0)
-               child_init_signal(DFAIL_LOCAL_SOCK);
+       if (local_sock < 0) {
+               child_init_signal_and_exit(DFAIL_LOCAL_SOCK);
+               /* NOTREACHED */
+       }
 
        /* Set up signal handlers, USR1 is for cluster change notifications (in cman)
           USR2 causes child threads to exit.
@@ -498,10 +504,8 @@ int main(int argc, char *argv[])
        if (!clops) {
                DEBUGLOG("Can't initialise cluster interface\n");
                log_error("Can't initialise cluster interface\n");
-               child_init_signal(DFAIL_CLUSTER_IF);
-#ifdef __clang__
-               __builtin_unreachable();
-#endif
+               child_init_signal_and_exit(DFAIL_CLUSTER_IF);
+               /* NOTREACHED */
        }
        DEBUGLOG("Cluster ready, doing some more initialisation\n");
 
@@ -517,10 +521,8 @@ int main(int argc, char *argv[])
        /* Add the local socket to the list */
        newfd = malloc(sizeof(struct local_client));
        if (!newfd) {
-               child_init_signal(DFAIL_MALLOC);
-#ifdef __clang__
-               __builtin_unreachable();
-#endif
+               child_init_signal_and_exit(DFAIL_MALLOC);
+               /* NOTREACHED */
        }
 
        newfd->fd = local_sock;
This page took 0.04737 seconds and 5 git commands to generate.