[Pvfs2-cvs] commit by robl in pvfs2-1/include: pvfs2-compat.h

CVS commit program cvs at parl.clemson.edu
Mon Dec 15 16:58:32 EST 2008


Update of /projects/cvsroot/pvfs2-1/include
In directory parlweb1:/tmp/cvs-serv18297

Modified Files:
	pvfs2-compat.h 
Log Message:
clean up the compat header just a bit.  ROMIO builds again


Index: pvfs2-compat.h
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/include/pvfs2-compat.h,v
diff -u -w -p -u -r1.1 -r1.2
--- pvfs2-compat.h	15 Dec 2008 19:31:49 -0000	1.1
+++ pvfs2-compat.h	15 Dec 2008 21:58:32 -0000	1.2
@@ -37,8 +37,21 @@
    PVFS_sys_ref_lookup(fs_id,pathname,parent_ref,credentials,resp,\
          follow_link, PVFS_HINT_NULL)
 
-#define PVFS_sys_io(ref,req,req_ofs,buf,mem_req,creds,resp,type)\
-   PVFS_sys_io(ref,req,req_ofs,buf,mem_req,creds,resp,type,PVFS_HINT_NULL)
+#undef PVFS_sys_read
+#define PVFS_sys_read(ref,req,off,buf,mem_req,creds,resp) \
+   PVFS_sys_io(ref,req,off,buf,mem_req,creds,resp,PVFS_IO_READ,PVFS_HINT_NULL)
+
+#undef PVFS_sys_write
+#define PVFS_sys_write(ref,req,off,buf,mem_req,creds,resp) \
+   PVFS_sys_io(ref,req,off,buf,mem_req,creds,resp,PVFS_IO_WRITE,PVFS_HINT_NULL)
+
+#undef PVFS_isys_read
+#define PVFS_isys_read(ref,req,off,buf,mem_req,creds,resp,opid,ptr)\
+	PVFS_isys_io(ref,req,off,buf,mem_req,creds,resp,PVFS_IO_READ,opid,PVFS_HINT_NULL,ptr)
+
+#undef PVFS_isys_write
+#define PVFS_isys_write(ref,req,off,buf,mem_req,creds,resp,opid,ptr)\
+	PVFS_isys_io(ref,req,off,buf,mem_req,creds,resp,PVFS_IO_WRITE,opid,PVFS_HINT_NULL,ptr)
 
 #define PVFS_sys_remove(entry,ref,creds)\
    PVFS_sys_remove(entry,ref,creds,PVFS_HINT_NULL)
@@ -52,6 +65,11 @@
 #define PVFS_sys_truncate(ref,size,creds)\
    PVFS_sys_truncate(ref,size,creds,PVFS_HINT_NULL)
 
+#define PVFS_sys_getparent(ref,name,cred,resp) \
+	PVFS_sys_getparent(ref,name,cred,resp,PVFS_HINT_NULL)
+
+#define PVFS_sys_flush(ref,cred)\
+	PVFS_sys_flush(ref,cred,PVFS_HINT_NULL)
 #endif
 
 



More information about the Pvfs2-cvs mailing list