[Pvfs2-cvs] commit by pcarns in pvfs2/src/client/sysint: mgmt-create-dirent.sm

CVS commit program cvs at parl.clemson.edu
Thu Jul 31 14:08:04 EDT 2008


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

Modified Files:
	mgmt-create-dirent.sm 
Log Message:
fix bug in mgmt-create-dirent (used by pvfs2-fsck): request to create entry
should go to server that owns parent directory, rather than server that owns
file object.


Index: mgmt-create-dirent.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/mgmt-create-dirent.sm,v
diff -p -u -r1.18 -r1.19
--- mgmt-create-dirent.sm	6 May 2008 18:59:52 -0000	1.18
+++ mgmt-create-dirent.sm	31 Jul 2008 18:08:03 -0000	1.19
@@ -186,7 +186,7 @@ static int mgmt_create_dirent_setup_msgp
         sm_p->parent_ref.fs_id);
 
     msg_p->fs_id = sm_p->parent_ref.fs_id;
-    msg_p->handle = sm_p->u.mgmt_create_dirent.entry_handle;
+    msg_p->handle = sm_p->parent_ref.handle;
     msg_p->retry_flag = PVFS_MSGPAIR_NO_RETRY;
     msg_p->comp_fn = mgmt_create_dirent_comp_fn;
 



More information about the Pvfs2-cvs mailing list