[SSI] openssi/kernel/cluster/ssi/cfs symlink.c,1.12,1.13

Roger Tsang <[email protected]> Mon, 25 Oct 2010 05:16:25 +0000
Newsgroups gmane.linux.cluster.ssic.cvs
Message-ID <[email protected]>
Update of /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/cfs
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv4862/cluster/ssi/cfs

Modified Files:
      Tag: OPENSSI-FC
	symlink.c 
Log Message:
Test for CLUSTERNODE_THIS instead of 0 when testing value of node_context.


Index: symlink.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/cfs/symlink.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- symlink.c	27 Oct 2009 03:18:29 -0000	1.12
+++ symlink.c	25 Oct 2010 05:16:23 -0000	1.13
@@ -150,7 +150,7 @@
         char buf[10];
 
         sprintf(buf,"%u",
-		(current->node_context == 0 ?
+		(current->node_context == CLUSTERNODE_THIS ?
 		 this_node : current->node_context));
         l = strlen(buf);
 


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev