FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

LinkBack Thread Tools
Old 03-24-2008, 02:54 PM
Default Cluster Project branch, master, updated. gfs-kernel_0_1_22-96-g1c340e0

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=1c340e0e7e 1a6c0b7402db2ee22e240e25d28728

The branch, master has been updated
via 1c340e0e7e1a6c0b7402db2ee22e240e25d28728 (commit)
from b83c377a297a79e45cb7a268bdad2680f81ef4df (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 1c340e0e7e1a6c0b7402db2ee22e240e25d28728
Author: Lon Hohberger <lhh@redhat.com>
Date: Mon Mar 24 11:41:00 2008 -0400

[cman/qdisk] Fix type pun errors in proc.c


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

diff --git a/cman/qdisk/proc.c b/cman/qdisk/proc.c
index f27faa2..5623e7e 100644
--- a/cman/qdisk/proc.c
+++ b/cman/qdisk/proc.c
@@ -146,11 +146,13 @@ state_str(disk_node_state_t s)
print_status_block(status_block_t *sb)
+ time_t timestamp = (time_t)sb->ps_timestamp;
if (sb->ps_state == S_NONE)
printf("Status block for node %d
", sb->ps_nodeid);
printf(" Last updated by node %d
", sb->ps_updatenode);
- printf(" Last updated on %s", ctime((time_t *)&sb->ps_timestamp));
+ printf(" Last updated on %s", ctime((time_t *)&timestamp));
printf(" State: %s
", state_str(sb->ps_state));
printf(" Flags: %04x
", sb->ps_flags);
printf(" Score: %d/%d
", sb->ps_score, sb->ps_scoremax);
@@ -200,13 +202,13 @@ print_qdisk_info(struct devnode *dn)
quorum_header_t *qh = (quorum_header_t *)dn->filter;
struct devpath *dp;
+ time_t timestamp = (time_t)qh->qh_timestamp;

for (dp = dn->devpath; dp; dp = dp->next)
", dp->path);
printf(" Magic: %08x
", qh->qh_magic);
printf(" Label: %s
", qh->qh_cluster);
- printf(" Created: %s",
- ctime((time_t *)&(qh->qh_timestamp)));
+ printf(" Created: %s", ctime(&timestamp));
printf(" Host: %s
", qh->qh_updatehost);
printf(" Kernel Sector Size: %d
", qh->qh_kernsz);
if (qh->qh_version == VERSION_MAGIC_V2) {

Cluster Project

Thread Tools

All times are GMT. The time now is 07:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org