[PVFS2-CVS]
commit by neill in pvfs2/src/io/job: job-desc-queue.c job.c
CVS commit program
cvs at parl.clemson.edu
Wed Sep 1 15:08:07 EDT 2004
Update of /projects/cvsroot/pvfs2/src/io/job
In directory parlweb:/tmp/cvs-serv22419/src/io/job
Modified Files:
job-desc-queue.c job.c
Log Message:
- fixed possible flow mutex memory leak (ptr set to null before free
check was done)
- try to keep the existing mutex (if any) throughout the flow_reset
- make pass over kernel code making sure that out link counts are
correct again
- fixed directory inode mtime and ctime changes on updates
- misc cleanups
Index: job-desc-queue.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/job/job-desc-queue.c,v
diff -p -u -r1.13 -r1.14
--- job-desc-queue.c 28 Jul 2004 14:32:46 -0000 1.13
+++ job-desc-queue.c 1 Sep 2004 18:08:07 -0000 1.14
@@ -61,7 +61,6 @@ void dealloc_job_desc(struct job_desc *j
{
id_gen_safe_unregister(jd->job_id);
free(jd);
- return;
}
/* job_desc_q_new()
Index: job.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/job/job.c,v
diff -p -u -r1.152 -r1.153
--- job.c 26 Aug 2004 16:41:44 -0000 1.152
+++ job.c 1 Sep 2004 18:08:07 -0000 1.153
@@ -3631,11 +3631,14 @@ static void teardown_queues(void)
{
if (bmi_unexp_queue)
+ {
job_desc_q_cleanup(bmi_unexp_queue);
+ }
+
if (dev_unexp_queue)
+ {
job_desc_q_cleanup(dev_unexp_queue);
-
- return;
+ }
}
/* trove_thread_mgr_callback()
More information about the PVFS2-CVS
mailing list