diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-06-10 09:20:29 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-06-10 09:20:29 +0000 |
commit | 293228e82237af0f25ab029199d2c960b6f8c9c5 (patch) | |
tree | 64058c3dab22edacf0cb86f189a74d1c6c716a33 /cpukit/libnetworking/lib | |
parent | 2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-293228e82237af0f25ab029199d2c960b6f8c9c5.tar.bz2 |
2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libnetworking/rtems/ftpfs.h, libnetworking/lib/ftpfs.c: Removed
rtems_ftpfs_mount().
Diffstat (limited to 'cpukit/libnetworking/lib')
-rw-r--r-- | cpukit/libnetworking/lib/ftpfs.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/cpukit/libnetworking/lib/ftpfs.c b/cpukit/libnetworking/lib/ftpfs.c index 659a5e3e43..c9d6363863 100644 --- a/cpukit/libnetworking/lib/ftpfs.c +++ b/cpukit/libnetworking/lib/ftpfs.c @@ -132,33 +132,6 @@ static int rtems_ftpfs_set_connection_timeout( 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, |