[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:34:56 EST 2008
Update of /projects/cvsroot/pvfs2-1/src/io/dev
In directory parlweb1:/tmp/cvs-serv25896/src/io/dev
Modified Files:
Tag: small-file-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.39 -r1.39.2.1
--- pint-dev.c 21 Jan 2008 22:27:19 -0000 1.39
+++ pint-dev.c 21 Feb 2008 19:34:56 -0000 1.39.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