[Pvfs2-cvs] commit by pcarns in pvfs2-1/src/io/dev: pint-dev.c

CVS commit program cvs at parl.clemson.edu
Thu Feb 21 14:29:14 EST 2008


Update of /projects/cvsroot/pvfs2-1/src/io/dev
In directory parlweb1:/tmp/cvs-serv25271/src/io/dev

Modified Files:
      Tag: pvfs-2-7-branch
	pint-dev.c 
Log Message:
merging job/dev bug fix from trunk


Index: pint-dev.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/io/dev/pint-dev.c,v
diff -p -u -r1.38 -r1.38.2.1
--- pint-dev.c	8 Nov 2007 21:48:22 -0000	1.38
+++ pint-dev.c	21 Feb 2008 19:29:14 -0000	1.38.2.1
@@ -320,6 +320,11 @@ int PINT_dev_test_unexpected(
     void *buffer = NULL;
     pvfs2_upcall_t *upc = NULL;
 
+    if(incount < 1)
+    {
+        return(-PVFS_EINVAL);
+    }
+
     /* prepare to read max upcall size (magic nr and tag included) */
     int read_size = pdev_max_upsize;
     



More information about the Pvfs2-cvs mailing list