[Pvfs2-cvs] commit by mtmoore in pvfs2/src/client/sysint: sys-rename.sm

CVS commit program cvs at parl.clemson.edu
Tue Jan 11 10:43:32 EST 2011


Update of /projects/cvsroot/pvfs2/src/client/sysint
In directory parlweb1:/tmp/cvs-serv26452/src/client/sysint

Modified Files:
      Tag: Orange-Branch
	sys-rename.sm 
Log Message:
Fix for bad ncache entry update when moving files provided by David Metheny


Index: sys-rename.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-rename.sm,v
diff -p -u -r1.59 -r1.59.10.1
--- sys-rename.sm	20 Nov 2008 01:16:50 -0000	1.59
+++ sys-rename.sm	11 Jan 2011 15:43:32 -0000	1.59.10.1
@@ -862,11 +862,11 @@ static PINT_sm_action rename_cleanup(
             "ref.handle=%llu ref.fsid=%d\n",
             sm_p->u.rename.entries[1],
             llu(sm_p->u.rename.refns[0].handle),
-            sm_p->u.rename.parent_refns[0].fs_id);
+            sm_p->u.rename.parent_refns[1].fs_id);
 
         PINT_ncache_update((const char*) sm_p->u.rename.entries[1],
             (const PVFS_object_ref*) &(sm_p->u.rename.refns[0]),
-            (const PVFS_object_ref*) &(sm_p->u.rename.parent_refns[0]));
+            (const PVFS_object_ref*) &(sm_p->u.rename.parent_refns[1]));
     }
 
     PINT_SM_GETATTR_STATE_CLEAR(sm_p->getattr);



More information about the Pvfs2-cvs mailing list