[Pvfs2-cvs] commit by pcarns in pvfs2-1/src/apps/kernel/linux: pvfs2-client-core.c

CVS commit program cvs at parl.clemson.edu
Tue May 13 12:00:49 EDT 2008


Update of /projects/cvsroot/pvfs2-1/src/apps/kernel/linux
In directory parlweb1:/tmp/cvs-serv28675

Modified Files:
	pvfs2-client-core.c 
Log Message:
mmap ra flush case


Index: pvfs2-client-core.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/apps/kernel/linux/pvfs2-client-core.c,v
diff -p -u -r1.99 -r1.100
--- pvfs2-client-core.c	13 May 2008 15:55:24 -0000	1.99
+++ pvfs2-client-core.c	13 May 2008 16:00:48 -0000	1.100
@@ -1899,8 +1899,6 @@ err_sizes:
 static PVFS_error service_mmap_ra_flush_request(
     vfs_request_t *vfs_request)
 {
-    PVFS_error ret = -PVFS_EINVAL;
-
     gossip_debug(
         GOSSIP_MMAP_RCACHE_DEBUG, "Flushing mmap-racache elem %llu, %d\n",
         llu(vfs_request->in_upcall.req.ra_cache_flush.refn.handle),
@@ -1912,8 +1910,8 @@ static PVFS_error service_mmap_ra_flush_
     /* we need to send a blank success response */
     vfs_request->out_downcall.type = PVFS2_VFS_OP_MMAP_RA_FLUSH;
     vfs_request->out_downcall.status = 0;
+    vfs_request->op_id = -1;
 
-    write_inlined_device_response(vfs_request);
     return 0;
 }
 #endif



More information about the Pvfs2-cvs mailing list