change log for rtems (2010-06-10)
rtems-vc at rtems.org
rtems-vc at rtems.org
Thu Jun 10 10:10:56 UTC 2010
*sh*:
2010-06-10 Sebastian Huber <sebastian.huber at embedded-brains.de>
* libnetworking/rtems/ftpfs.h, libnetworking/lib/ftpfs.c: Removed
rtems_ftpfs_mount().
M 1.2364 cpukit/ChangeLog
M 1.31 cpukit/libnetworking/lib/ftpfs.c
M 1.12 cpukit/libnetworking/rtems/ftpfs.h
diff -u rtems/cpukit/ChangeLog:1.2363 rtems/cpukit/ChangeLog:1.2364
--- rtems/cpukit/ChangeLog:1.2363 Thu Jun 10 04:07:28 2010
+++ rtems/cpukit/ChangeLog Thu Jun 10 04:20:27 2010
@@ -1,5 +1,10 @@
2010-06-10 Sebastian Huber <sebastian.huber at embedded-brains.de>
+ * libnetworking/rtems/ftpfs.h, libnetworking/lib/ftpfs.c: Removed
+ rtems_ftpfs_mount().
+
+2010-06-10 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
* libcsupport/src/mount-mktgt.c: New file.
* libcsupport/Makefile.am: Reflect change above.
* libcsupport/include/rtems/libio.h: Declare
diff -u rtems/cpukit/libnetworking/lib/ftpfs.c:1.30 rtems/cpukit/libnetworking/lib/ftpfs.c:1.31
--- rtems/cpukit/libnetworking/lib/ftpfs.c:1.30 Wed Jun 9 06:36:08 2010
+++ rtems/cpukit/libnetworking/lib/ftpfs.c Thu Jun 10 04:20:28 2010
@@ -132,33 +132,6 @@
return 0;
}
-rtems_status_code rtems_ftpfs_mount(const char *mount_point)
-{
- int rv = 0;
-
- if (mount_point == NULL) {
- mount_point = RTEMS_FTPFS_MOUNT_POINT_DEFAULT;
- }
-
- rv = rtems_mkdir(mount_point, S_IRWXU | S_IRWXG | S_IRWXO);
- if (rv != 0) {
- return RTEMS_IO_ERROR;
- }
-
- rv = mount(
- NULL,
- mount_point,
- RTEMS_FILESYSTEM_TYPE_FTPFS,
- RTEMS_FILESYSTEM_READ_WRITE,
- NULL
- );
- if (rv != 0) {
- return RTEMS_IO_ERROR;
- }
-
- return RTEMS_SUCCESSFUL;
-}
-
static rtems_status_code rtems_ftpfs_do_ioctl(
const char *mount_point,
ioctl_command_t req,
diff -u rtems/cpukit/libnetworking/rtems/ftpfs.h:1.11 rtems/cpukit/libnetworking/rtems/ftpfs.h:1.12
--- rtems/cpukit/libnetworking/rtems/ftpfs.h:1.11 Wed Jun 9 06:36:09 2010
+++ rtems/cpukit/libnetworking/rtems/ftpfs.h Thu Jun 10 04:20:29 2010
@@ -49,8 +49,12 @@
* @brief The FTP file system (FTP client) can be used to transfer files from
* or to remote hosts.
*
- * You can mount the FTP file system with a call to rtems_ftpfs_mount().
- * Alternatively you can use mount() directly.
+ * You can mount the FTP file system with a call to mount() or
+ * mount_and_make_target_path() with the @ref RTEMS_FILESYSTEM_TYPE_FTPFS file
+ * system type.
+ *
+ * You have to add @ref CONFIGURE_FILESYSTEM_FTPFS to your application
+ * configuration.
*
* You can open files either read-only or write-only. A seek is not allowed.
* A close terminates the control and data connections.
@@ -93,17 +97,6 @@
} rtems_ftpfs_ioctl_numbers;
/**
- * @brief Creates the mount point @a mount_point and mounts the FTP file
- * system.
- *
- * If @a mount_point is @c NULL the default mount point
- * @ref RTEMS_FTPFS_MOUNT_POINT_DEFAULT will be used.
- *
- * It is mounted with read and write access.
- */
-rtems_status_code rtems_ftpfs_mount( const char *mount_point);
-
-/**
* @brief Returns in @a verbose if the verbose mode is enabled or disabled for
* the file system at @a mount_point.
*
@@ -155,7 +148,7 @@
/** @} */
/**
- * Do not call directly, use rtems_ftpfs_mount() or mount().
+ * @brief Do not call directly, use mount().
*/
int rtems_ftpfs_initialize(
rtems_filesystem_mount_table_entry_t *mt_entry,
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100610/d358125a/attachment-0001.html>
More information about the vc
mailing list