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

CVS commit program cvs at parl.clemson.edu
Tue Oct 31 15:18:29 EST 2006


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

Modified Files:
      Tag: WALT3
	pvfs2-client-core.c 
Log Message:
added code to handle requests that end without posting


Index: pvfs2-client-core.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/apps/kernel/linux/pvfs2-client-core.c,v
diff -p -u -r1.68.2.5 -r1.68.2.6
--- pvfs2-client-core.c	24 Oct 2006 20:06:39 -0000	1.68.2.5
+++ pvfs2-client-core.c	31 Oct 2006 20:18:29 -0000	1.68.2.6
@@ -2816,6 +2816,12 @@ static inline PVFS_error handle_unexp_vf
     */
     switch(ret)
     {
+        case SM_ACTION_TERMINATE:
+           /* This should be set to the return value of the isys_* call */
+           int error = XX <error code of the SM>;
+           package_downcall_members(vfs_request,  &error)
+           write_inlined_device_response(vfs_request); 
+           /* This code falls through */ 
         case 0:
         {
             /*



More information about the Pvfs2-cvs mailing list