summaryrefslogtreecommitdiffstats
path: root/src/usr/vfs
diff options
context:
space:
mode:
authorBill Schwartz <whs@us.ibm.com>2012-10-10 10:36:29 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-10-12 16:29:17 -0500
commitb201169eeae76a7697f4f207dd583d40a2f07f66 (patch)
treea05fa3da99dddab0491623aebc1110e73d430bf7 /src/usr/vfs
parent3536e96bd3a1d490cec900617fab6703fb7798ea (diff)
downloadtalos-hostboot-b201169eeae76a7697f4f207dd583d40a2f07f66.tar.gz
talos-hostboot-b201169eeae76a7697f4f207dd583d40a2f07f66.zip
Memory Leak task_end
Change-Id: Idb7a2d8d72a55f644efd0b2548eca5df5d062e6d RTC: 47491 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2011 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/vfs')
-rw-r--r--src/usr/vfs/vfsrp.C58
-rw-r--r--src/usr/vfs/vfsrp.H54
2 files changed, 56 insertions, 56 deletions
diff --git a/src/usr/vfs/vfsrp.C b/src/usr/vfs/vfsrp.C
index b7a897f96..0f34782b6 100644
--- a/src/usr/vfs/vfsrp.C
+++ b/src/usr/vfs/vfsrp.C
@@ -1,26 +1,25 @@
-/* IBM_PROLOG_BEGIN_TAG
- * This is an automatically generated prolog.
- *
- * $Source: src/usr/vfs/vfsrp.C $
- *
- * IBM CONFIDENTIAL
- *
- * COPYRIGHT International Business Machines Corp. 2011-2012
- *
- * p1
- *
- * Object Code Only (OCO) source materials
- * Licensed Internal Code Source Materials
- * IBM HostBoot Licensed Internal Code
- *
- * The source code for this program is not published or other-
- * wise divested of its trade secrets, irrespective of what has
- * been deposited with the U.S. Copyright Office.
- *
- * Origin: 30
- *
- * IBM_PROLOG_END_TAG
- */
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/usr/vfs/vfsrp.C $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2011,2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
/**
* @file vfsrp.C
* @brief Virtual File system Extended image support
@@ -72,34 +71,35 @@ void VfsRp::init( errlHndl_t &io_taskRetErrl )
err = Singleton<VfsRp>::instance()._init();
- task_end2( err );
+ io_taskRetErrl= err ;
}
// ----------------------------------------------------------------------------
/**
* Helper function to start vfs messge handler
*/
-void VfsRp::msg_handler(void * unused)
+void* VfsRp::msg_handler(void * unused)
{
Singleton<VfsRp>::instance().msgHandler();
+ return NULL;
}
// ----------------------------------------------------------------------------
-void VfsRp::load_unload(void * i_msg)
+void* VfsRp::load_unload(void * i_msg)
{
task_detach();
Singleton<VfsRp>::instance()._load_unload((msg_t*)i_msg);
- task_end();
+ return NULL;
}
// ----------------------------------------------------------------------------
-void VfsRp::exec(void * i_msg)
+void* VfsRp::exec(void * i_msg)
{
task_detach();
Singleton<VfsRp>::instance()._exec((msg_t*)i_msg);
- task_end();
+ return NULL;
}
// ----------------------------------------------------------------------------
diff --git a/src/usr/vfs/vfsrp.H b/src/usr/vfs/vfsrp.H
index 36e9ed1c8..014aad815 100644
--- a/src/usr/vfs/vfsrp.H
+++ b/src/usr/vfs/vfsrp.H
@@ -1,25 +1,25 @@
-// IBM_PROLOG_BEGIN_TAG
-// This is an automatically generated prolog.
-//
-// $Source: src/usr/vfs/vfsrp.H $
-//
-// IBM CONFIDENTIAL
-//
-// COPYRIGHT International Business Machines Corp. 2011
-//
-// p1
-//
-// Object Code Only (OCO) source materials
-// Licensed Internal Code Source Materials
-// IBM HostBoot Licensed Internal Code
-//
-// The source code for this program is not published or other-
-// wise divested of its trade secrets, irrespective of what has
-// been deposited with the U.S. Copyright Office.
-//
-// Origin: 30
-//
-// IBM_PROLOG_END
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/usr/vfs/vfsrp.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2011,2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
#ifndef VFSRP_H
#define VFSRP_H
@@ -101,21 +101,21 @@ namespace VFS
/**
* Start message handler
*/
- static void msg_handler(void * unused);
+ static void* msg_handler(void * unused);
/**
* Load or Unload a module
* @param[in] i_msg the message
- * @note Does not return. calls task_end()
+ * @note Does not return.
*/
- static void load_unload(void * i_msg);
+ static void* load_unload(void * i_msg);
/**
* Call _start on module
* @param[in] i_msg the message
- * @note Does not return. calls task_end()
+ * @note Does not return.
*/
- static void exec(void * i_msg);
+ static void* exec(void * i_msg);
private: // functions
OpenPOWER on IntegriCloud