This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=481965dc9ddb3cbbe06e82ecd507a2b77621206a

The branch, RHEL4 has been updated
       via  481965dc9ddb3cbbe06e82ecd507a2b77621206a (commit)
      from  6626fda2200aa1abed902646371eee265be7fc04 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 481965dc9ddb3cbbe06e82ecd507a2b77621206a
Author: Lon Hohberger <[EMAIL PROTECTED]>
Date:   Mon Apr 7 09:47:01 2008 -0400

    [cman] Resolve 441266 - uninitialized variable causing qdiskd to fail

-----------------------------------------------------------------------

Summary of changes:
 cman/qdisk/disk.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/cman/qdisk/disk.c b/cman/qdisk/disk.c
index 25405d5..cd9a462 100644
--- a/cman/qdisk/disk.c
+++ b/cman/qdisk/disk.c
@@ -215,7 +215,7 @@ int
 qdisk_open(char *name, target_info_t *disk)
 {
        int ret;
-       unsigned long ssz;
+       int ssz;
 
        /*
         * Open for synchronous writes to insure all writes go directly
@@ -231,6 +231,7 @@ qdisk_open(char *name, target_info_t *disk)
                return -1;
        }
 
+       disk->d_blksz = ssz;
        disk->d_pagesz = sysconf(_SC_PAGESIZE);
 
        /* Check to verify that the partition is large enough.*/


hooks/post-receive
--
Cluster Project

Reply via email to