summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libcsupport/src/unmount.c11
2 files changed, 5 insertions, 11 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 6d2efc40f7..d4b512ce52 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,10 @@
2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
+ * libcsupport/src/unmount.c: Removed obsolete declarations. Fixed
+ invalid memory free.
+
+2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
* libnetworking/rtems/ftpfs.h, libnetworking/lib/ftpfs.c: Removed
rtems_ftpfs_mount().
diff --git a/cpukit/libcsupport/src/unmount.c b/cpukit/libcsupport/src/unmount.c
index 164cf6ef69..b535ea9b53 100644
--- a/cpukit/libcsupport/src/unmount.c
+++ b/cpukit/libcsupport/src/unmount.c
@@ -33,16 +33,6 @@
#include <rtems/libio_.h>
#include <rtems/seterr.h>
-/*
- * Data structures and routines private to mount/unmount pair.
- */
-
-extern rtems_chain_control rtems_filesystem_mount_table_control;
-
-int search_mt_for_mount_point(
- rtems_filesystem_location_info_t *location_of_mount_point
-);
-
bool rtems_filesystem_nodes_equal(
const rtems_filesystem_location_info_t *loc1,
const rtems_filesystem_location_info_t *loc2
@@ -213,7 +203,6 @@ int unmount(
*/
rtems_filesystem_freenode( fs_mount_loc );
- free( (void*) mt_entry->target );
free( mt_entry );
return 0;