summaryrefslogtreecommitdiff
path: root/cpukit/libfs (follow)
AgeCommit message (Collapse)Author
2011-02-072011-02-08 Brett Swimley <bswimley@advanced.pro>Chris Johns
* libfs/src/rfs/rtems-rfs-rtems.c: Fix bug where the eval path did not close an inode.
2010-10-182010-10-19 Chris Johns <chrisj@rtems.org>Chris Johns
* libfs/src/rfs/rtems-rfs-rtems-file.c: Add missing unlock in write. Return the error code in close.
2010-10-11Disable trace.Chris Johns
2010-10-11The patch to the 4.10 branch did not apply correctly. This fixes it.Chris Johns
2010-10-112010-10-11 Chris Johns <chrisj@rtems.org>Chris Johns
* libfs/src/rfs/rtems-rfs-trace.c, libfs/src/rfs/rtems-rfs-trace.h: Add inode-delete. * libfs/src/rfs/rtems-rfs-shell.c: Fix formatting. * libfs/src/rfs/rtems-rfs-rtems-dir.c: Use ssize_t. Fix spelling. * libfs/src/rfs/rtems-rfs-block.c: Fix rtems_rfs_block_get_bpos to return the position correctly. A bpos does not have any special processing. Do no reset the buffer handle when shrinking indirectly. * libfs/src/rfs/rtems-rfs-inode.c: Add trace. * libfs/src/rfs/rtems-rfs-format.c: Fix comments. * libfs/src/rfs/rtems-rfs-group.c: Limit the inodes to the blocks in a group so the accounting works. * libfs/src/rfs/rtems-rfs-dir.c: PR 1705. Fix handling the offsets when deleting an entry. * libfs/src/rfs/rtems-rfs-buffer.h: Remove rtems_rfs_buffer_handle_reset. It is not needed and dangerous. * cpukit/libmisc/untar/untar.c: Merge 4.11 pax fix. This fix also supports MacOS's tar.
2010-08-272010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill
PR 1693/filesystem * libfs/src/imfs/memfile.c: IMFS_memfile_get_block_pointer() was checking incorrect pointer and thus had dead code.
2010-08-272010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill
PR 1692/filesystem * libcsupport/include/rtems/libio.h, libfs/src/devfs/devfs_eval.c, libfs/src/imfs/imfs_eval.c: Fix implementation and use of rtems_libio_is_valid_perms().
2010-08-262010-08-26 Chris Johns <chrisj@rtems.org>Chris Johns
* libfs/src/rfs/rtems-rfs-file.c: Check then load the inode if not present on the close. * libfs/src/rfs/rtems-rfs-format.c: Initialise the buffer chain.
2010-07-012010-07-01 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber
* libcsupport/include/rtems/libio_.h: Removed rtems_filesystem_mount_table_control. * libcsupport/include/rtems/libio.h, libcsupport/src/mount-mgr.c, libcsupport/src/mount.c libcsupport/src/statvfs.c, libcsupport/src/unmount.c, libmisc/shell/main_mount.c: Documentation. Removed rtems_filesystem_mounts_first() and rtems_filesystem_mounts_next(). Added rtems_filesystem_mount_iterate(). Changed return type of rtems_filesystem_iterate(). Removed rtems_filesystem_nodes_equal(). 2010-07-01 Sebastian Huber <sebastian.huber@embedded-brains.de> * libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/librtemsNfs.h: Renamed rtems_nfsfs_initialize() in rtems_nfs_initialize(). * sapi/include/confdefs.h: Reflect changes above. Renamed *_miniIMFS in *_MINIIMFS. Renamed *_NFSFS in *_NFS.
2010-06-242010-06-24 Bharath Suri <bharath.s.jois@gmail.com>Joel Sherrill
PR 1542/filesystem PR 1585/filesystem * libfs/src/pipe/fifo.c: pipe_control_t was not deallocated if fifo_open() was attempted with (O_WRONLY|O_NONBLOCK). Mutex was locked too many times on this path and we needed an unlock.
2010-06-242010-06-24 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill
PR 1587/filesystem Coverity Id 35 * libfs/src/rfs/rtems-rfs-shell.c: Address possible NULL dereference.
2010-06-232010-06-23 Chris Johns <chrisj@rtems.org>Chris Johns
PR 1577/filesystem * libfs/src/pipe/fifo.c: Fixed the error codes returned on open.
2010-06-182010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libnetworking/netinet/if_ether.c: Misc. 64bit fixes from FreeBSD. * libfs/src/nfsclient/src/rpcio.c: Misc. 64bit fixes.
2010-06-172010-06-18 Chris Johns <chrisj@rtems.org>Chris Johns
* libfs/src/rfs/rtems-rfs-file-block.c: Clean up uint64_t maths. * libfs/src/rfs/rtems-rfs-file-system.h, libfs/src/rfs/rtems-rfs-file-system.c: Move questionable macros to C functions.
2010-06-172010-06-17 Chris Johns <chrisj@rtems.org>Chris Johns
libfs/src/rfs/rtems-rfs-bitmaps.h, libfs/src/rfs/rtems-rfs-block-pos.h, libfs/src/rfs/rtems-rfs-block.h: PR 1556. Struct clean up.
2010-06-172010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/rfs/rtems-rfs-file-system.h: Revert previous change. Force RTEMS_RFS_VERSION_MASK to be 32bit.
2010-06-172010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/rfs/rtems-rfs-format.c: Various 64bit fixes.
2010-06-172010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/rfs/rtems-rfs-file-system.c: Various 64bit fixes.
2010-06-172010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/rfs/rtems-rfs-rtems-file.c: Various 64bit fixes.
2010-06-172010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/rfs/rtems-rfs-buffer.c: Various 64bit fixes.
2010-06-172010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/rfs/rtems-rfs-shell.c: Various 64bit fixes.
2010-06-172010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/rfs/rtems-rfs-bitmaps-ut.c: Various 64bit fixes.
2010-06-172010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/rfs/rtems-rfs-group.c: Various 64bit fixes.
2010-06-162010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/rfs/rtems-rfs-file.c: Various 64bit fixes.
2010-06-162010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/rfs/rtems-rfs-inode.c: Various 64bit fixes.
2010-06-162010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/rfs/rtems-rfs-rtems.c: Various 64bit fixes. Add PRIomode_t.
2010-06-162010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/rfs/rtems-rfs-buffer-bdbuf.c: Various 64bit fixes.
2010-06-162010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
PR 1556/cpukit * libfs/src/rfs/rtems-rfs-bitmaps.h, libfs/src/rfs/rtems-rfs-block-pos.h, libfs/src/rfs/rtems-rfs-buffer.h, libfs/src/rfs/rtems-rfs-file-system-fwd.h, libfs/src/rfs/rtems-rfs-file-system.h, libfs/src/rfs/rtems-rfs-file.h, libfs/src/rfs/rtems-rfs-format.h, libfs/src/rfs/rtems-rfs-group.h, libfs/src/rfs/rtems-rfs-inode.h: Rename "struct rtems_rfs_*_t" into "struct _rtems_rfs_*".
2010-06-162010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
PR 1556/cpukit * libfs/src/rfs/rtems-rfs-shell.c: Remove rtems_rfs_shell_cmd_t.
2010-06-152010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/rfs/rtems-rfs-dir.c: Various 64bit compatibility fixes. Add PRIdoff_t. Remove stray "\"s. * libfs/src/rfs/rtems-rfs-link.c: Various 64bit compatibility fixes.
2010-06-152010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/rfs/rtems-rfs-file-system.h: Remove bogus typecast.
2010-06-152010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/rfs/rtems-rfs-block.c, libfs/src/rfs/rtems-rfs-buffer.c, libnetworking/nfs/bootp_subr.c: Misc. 64bit-compatibility fixes.
2010-06-142010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.h: Eliminate "uint".
2010-06-132010-06-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* include/rtems/tar.h, libcsupport/include/tar.h: Remove. * configure.ac: Require toolchain to provide tar.h. * libfs/src/imfs/imfs_load_tar.c, libmisc/untar/untar.h: Use <tar.h> instead of <rtems/tar.h>.
2010-06-122010-06-12 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/devfs/devfs.h, libfs/src/rfs/rtems-rfs-block-pos.h, libfs/src/rfs/rtems-rfs-block.h, libfs/src/rfs/rtems-rfs-dir.h, libfs/src/rfs/rtems-rfs-group.h, libfs/src/rfs/rtems-rfs-inode.h: Fix broken doxygen commands.
2010-06-012010-06-01 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/nfsclient/src/xdr_mbuf.c: Warning removal.
2010-05-312010-05-31 Chris Johns <chrisj@rtems.org>Chris Johns
* libcsupport/Makefile.am: Add mount-mgr.c. * libcsupport/src/mount-mgr.c: New. * include/rtems/fs.h: Added rtems_filesystem_location_mount. * libcsupport/include/rtems/libio.h, libcsupport/src/mount.c: New mount interface. It is similar to Linux. * libcsupport/include/rtems/libio_.h: Remove the init_fs_mount_table call. * libcsupport/src/base_fs.c: Remove init_fs_mount_table_call. Use the new mount call. Remove setting the root node in the global pathloc. Mount does this now. * libcsupport/src/privateenv.c: Remove the hack to set the root mount table entry in the environment. * libcsupport/src/unmount.cL Free the target string. * libblock/src/bdpart-mount.c: New mount API. * libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_init.c, libfs/src/dosfs/dosfs.h, libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_init.c, libfs/src/imfs/miniimfs_init.c, libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs.h, libnetworking/lib/ftpfs.c, libnetworking/rtems/ftpfs.h, libnetworking/rtems/tftp.h: New mount_h API. * libfs/src/devfs/devfs_eval.c: Local include of extern ops. * libfs/src/nfsclient/src/nfs.c: New mount API. Removed the mount me call and fixed the initialisation to happen when mounting. * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Remove mount filesystem files. * libmisc/fsmount/fsmount.c, libmisc/fsmount/fsmount.h: Updated to the new mount table values. * libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_rfs.c, libmisc/shell/main_mount_tftp.c: Removed. * libmisc/shell/main_mount.c: Use the new mount API. Also access the file system table for the file system types. * libnetworking/lib/tftpDriver.c: Updated to the new mount API. Fixed to allow mounting from any mount point. Also can now have more than file system mounted. * sapi/include/confdefs.h: Add file system configuration support.
2010-05-302010-05-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/nfsclient/src/rpcio.c: Warning removal.
2010-05-292010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/nfsclient/src/xdr_mbuf.c (xdrmbuf_setup): Cast addr to uintptr_t instead of size_t.
2010-05-292010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/nfsclient/src/dirutils.c: Add PRIomode_t, PRIdoff_t. * configure.ac: Add AC_CHECK_SIZEOF(mode_t), AC_CHECK_SIZEOF(off_t).
2010-05-282010-05-28 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/rfs/rtems-rfs-rtems.c: Use size_t for node_len.
2010-05-272010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/nfsclient/src/xdr_mbuf.c: Use void* arithmetic instead of u_long arithmetic.
2010-05-272010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/rfs/rtems-rfs-rtems.c: Use size_t instead of int for pathlen. Use %zi to print pathlen.
2010-05-272010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c: Use size_t instead of int for pathnamelen.
2010-05-272010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_eval.c: Use size_t instead of int for pathnamelen.
2010-05-272010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_eval.c: Use size_t instead of int for pathlen.
2010-05-272010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/nfsclient/src/nfs.c: Use uint32_t instead of u_int_t for readarg and writearg.
2010-05-272010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/nfsclient/src/nfs.c: Introduce union nfs_evalpath_arg.
2010-05-272010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/nfsclient/src/rpcio.c: Cast pointers to uintptr_t instead of long. xids are uint32_t not u_long.
2010-05-272010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libfs/src/nfsclient/src/nfs.c (NFS_MAKE_DEV_T_INO_HACK, NFS_MAKE_DEV_T): Cast "id"'s to rtems_device_minor_number.