Re: [PATCH] use defined constant instead of raw literal in totemsrp.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Merged whitetank and corosync trunk.

Thanks again!

On Mon, 2009-02-02 at 16:34 +0900, Masatake YAMATO wrote:
> Could you apply this patch if appreciated?
> 
> 
> Masatake YAMATO
> 
> 
> Index: exec/totemsrp.c
> ===================================================================
> --- exec/totemsrp.c	(revision 1752)
> +++ exec/totemsrp.c	(working copy)
> @@ -1534,7 +1534,7 @@
>  				sizeof (struct iovec) * recovery_message_item->iov_len);
>  		} else {
>  			mcast = recovery_message_item->iovec[0].iov_base;
> -			if (mcast->header.encapsulated == 1) {
> +			if (mcast->header.encapsulated == MESSAGE_ENCAPSULATED) {
>  				/*
>  				 * Message is a recovery message encapsulated
>  				 * in a new ring message
> 
> --
> Linux-cluster mailing list
> Linux-cluster@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/linux-cluster

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux