diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-07-15 08:10:48 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-07-15 08:10:48 +0000 |
commit | fd2b1634bb0698c7cf6b1dd2489bab2777f34831 (patch) | |
tree | eaad57942e25838769ae2670d28607fb4d894e67 /cpukit/libfs/src/imfs/memfile.c | |
parent | 2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-fd2b1634bb0698c7cf6b1dd2489bab2777f34831.tar.bz2 |
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/libio.h: Removed file_info and handlers
fields in rtems_libio_t.
* libcsupport/src/close.c, libcsupport/src/fcntl.c,
libcsupport/src/fdatasync.c, libcsupport/src/fstat.c,
libcsupport/src/fsync.c, libcsupport/src/ftruncate.c,
libcsupport/src/getdents.c, libcsupport/src/ioctl.c,
libcsupport/src/libio_sockets.c, libcsupport/src/lseek.c,
libcsupport/src/open.c, libcsupport/src/read.c,
libcsupport/src/readv.c, libcsupport/src/write.c,
libcsupport/src/writev.c, libfs/src/devfs/devclose.c,
libfs/src/devfs/devioctl.c, libfs/src/devfs/devopen.c,
libfs/src/devfs/devread.c, libfs/src/devfs/devwrite.c
libfs/src/dosfs/msdos_dir.c libfs/src/dosfs/msdos_file.c
libfs/src/imfs/deviceio.c libfs/src/imfs/imfs_directory.c
libfs/src/imfs/imfs_fifo.c libfs/src/imfs/memfile.c
libfs/src/nfsclient/src/nfs.c libfs/src/rfs/rtems-rfs-rtems-file.c
libfs/src/rfs/rtems-rfs-rtems.h libnetworking/lib/ftpfs.c: Reflect
changes above.
Diffstat (limited to 'cpukit/libfs/src/imfs/memfile.c')
-rw-r--r-- | cpukit/libfs/src/imfs/memfile.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/libfs/src/imfs/memfile.c b/cpukit/libfs/src/imfs/memfile.c index 2d91e217e3..c7ff2b1157 100644 --- a/cpukit/libfs/src/imfs/memfile.c +++ b/cpukit/libfs/src/imfs/memfile.c @@ -98,7 +98,7 @@ int memfile_open( { IMFS_jnode_t *the_jnode; - the_jnode = iop->file_info; + the_jnode = iop->pathinfo.node_access; /* * Perform 'copy on write' for linear files @@ -137,7 +137,7 @@ int memfile_close( { IMFS_jnode_t *the_jnode; - the_jnode = iop->file_info; + the_jnode = iop->pathinfo.node_access; if (iop->flags & LIBIO_FLAGS_APPEND) iop->offset = the_jnode->info.file.size; @@ -161,7 +161,7 @@ ssize_t memfile_read( { IMFS_jnode_t *the_jnode; - the_jnode = iop->file_info; + the_jnode = iop->pathinfo.node_access; return IMFS_memfile_read( the_jnode, iop->offset, buffer, count ); } @@ -181,7 +181,7 @@ ssize_t memfile_write( IMFS_jnode_t *the_jnode; ssize_t status; - the_jnode = iop->file_info; + the_jnode = iop->pathinfo.node_access; status = IMFS_memfile_write( the_jnode, iop->offset, buffer, count ); iop->size = the_jnode->info.file.size; @@ -205,7 +205,7 @@ int memfile_ioctl( { IMFS_jnode_t *the_jnode; - the_jnode = iop->file_info; + the_jnode = iop->pathinfo.node_access; return 0; } @@ -224,7 +224,7 @@ rtems_off64_t memfile_lseek( { IMFS_jnode_t *the_jnode; - the_jnode = iop->file_info; + the_jnode = iop->pathinfo.node_access; if (the_jnode->type == IMFS_LINEAR_FILE) { if (iop->offset > the_jnode->info.linearfile.size) @@ -258,7 +258,7 @@ int memfile_ftruncate( { IMFS_jnode_t *the_jnode; - the_jnode = iop->file_info; + the_jnode = iop->pathinfo.node_access; /* * POSIX 1003.1b does not specify what happens if you truncate a file |