* libnetworking/lib/ftpfs.c: Enable write and mount filesystem

with read-write access.
This commit is contained in:
Thomas Doerfler
2009-02-04 17:14:06 +00:00
parent a039f846db
commit 8ffe14563e
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2009-02-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libnetworking/lib/ftpfs.c: Enable write and mount filesystem
with read-write access.
2009-02-04 Ralf Corsépius <ralf.corsepius@rtems.org> 2009-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/if_ppp.h: Eliminate pppattach, pppintr * libnetworking/net/if_ppp.h: Eliminate pppattach, pppintr

View File

@@ -210,7 +210,7 @@ int rtems_bsdnet_initialize_ftp_filesystem (void)
status = mount( status = mount(
&entry, &entry,
&rtems_ftp_ops, &rtems_ftp_ops,
RTEMS_FILESYSTEM_READ_ONLY, RTEMS_FILESYSTEM_READ_WRITE,
NULL, NULL,
FTP_PATHNAME_PREFIX FTP_PATHNAME_PREFIX
); );
@@ -1019,7 +1019,7 @@ ssize_t rtems_ftp_write(
size_t count size_t count
) )
{ {
int eno = EIO; int eno = 0;
struct ftpStream *fsp; struct ftpStream *fsp;
size_t want_cnt; size_t want_cnt;
ssize_t wr_cnt; ssize_t wr_cnt;