[Pvfs2-cvs] commit by slang in pvfs2/src/kernel/linux-2.6: pvfs2-bufmap.c

CVS commit program cvs at parl.clemson.edu
Tue Dec 5 19:10:57 EST 2006


Update of /projects/cvsroot/pvfs2/src/kernel/linux-2.6
In directory parlweb1:/tmp/cvs-serv6973/src/kernel/linux-2.6

Modified Files:
      Tag: pvfs-2-6-branch
	pvfs2-bufmap.c 
Log Message:
merge pw's fixes from HEAD that quiet warnings in non pthread scenario and include some headers that get missed otherwise.  Also fix some warnings that crept in.


Index: pvfs2-bufmap.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/kernel/linux-2.6/pvfs2-bufmap.c,v
diff -p -u -r1.46.8.2 -r1.46.8.3
--- pvfs2-bufmap.c	4 Dec 2006 06:01:48 -0000	1.46.8.2
+++ pvfs2-bufmap.c	6 Dec 2006 00:10:57 -0000	1.46.8.3
@@ -55,7 +55,7 @@ static int initialize_bufmap_descriptors
     if (buffer_index_array == NULL) 
     {
         gossip_err("pvfs2: could not allocate %d bytes\n",
-                ndescs * sizeof(int));
+                (int) (ndescs * sizeof(int)));
         goto out;
     }
     memset(buffer_index_array, 0, ndescs * sizeof(int));



More information about the Pvfs2-cvs mailing list