summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* dosfs: Fix msdos_format()Ralf Kirchner2018-01-111-1/+1
| | | | | | For FAT32 msdos_format() used to initialize first FAT entries to non-zero values only if a volume label was given. Absence of these entries made mounting such a FAT32 volume fail.
* dosfs: Fix for no space left on device conditionSebastian Huber2018-01-111-3/+5
| | | | | | The file size was wrong in the no space left on device condition. This resulted in turn in a read of an invalid block which lead to an EIO error status.
* fat: Fix for invalid cluster sizesSebastian Huber2016-05-201-1/+3
| | | | | | | A cluster size > 32KiB resulted in an infinite loop in fat_init_volume_info() due to an integer overflow. Update #2717.
* RFS: Fix resource leakSebastian Huber2015-10-211-0/+2
| | | | Update #2433.
* PR2039: Fix NULL pointer accessSebastian Huber2012-03-141-2/+2
| | | | | | | In case rtems_bdbuf_read() returns an error status, the block device buffer pointer will be set to NULL. In RFS the chain node of the block device buffer will be used for RFS purposes. We must not do this after an erroneous read.
* PR 2026/filesystem - Fix semaphore attributesSebastian Huber2012-02-231-7/+2
| | | | | Semaphores of type RTEMS_SIMPLE_BINARY_SEMAPHORE are not suitable for a mutex. Use RTEMS_BINARY_SEMAPHORE with RTEMS_INHERIT_PRIORITY instead.
* Add .git ignore. Remove .cvsignoreJoel Sherrill2012-02-024-14/+0
|
* 2011-12-09 Chris Johns <chrisj@rtems.org>Chris Johns2011-12-093-29/+70
| | | | | | | | | | PR 1968/filesystem * libfs/src/rfs/rtems-rfs-file.c: Fix to the seek bug where a seek to 0 after reading the end of the file did not point to the correct block. * libfs/src/rfs/rtems-rfs-rtems.h, libfs/src/rfs/rtems-rfs-trace.c: Fix the trace flags. Used to fix the bug.
* 2011-11-03 Chris Johns <chrisj@rtems.org>Chris Johns2011-11-034-3/+41
| | | | | | | | | | PR 1948/filesystem * libfs/src/rfs/rtems-rfs-file-system.c, libfs/src/rfs/rtems-rfs-file-system.h, libfs/src/rfs/rtems-rfs-format.c, libfs/src/rfs/rtems-rfs-rtems.c: Add support for mount passing an ASCIIZ string containing configuration options. * libblock/src/bdbuf.c: Fix state labels in trace output.
* 2011-07-15 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-07-151-1/+1
| | | | * nfs.c: removed stray Ctrl-M char.
* 2011-07-13 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2011-07-131-1/+1
| | | | | | | PR 1775/filesystem * libfs/src/nfsclient/src/nfs.c: NFSAddress NFS issue where read/write problems when requested bytes greater than nfsStBlksize. Failure to create files and symlinks.
* 2011-07-04 Chris Johns <chrisj@rtems.org>Chris Johns2011-07-041-1/+1
| | | | | | PR 1827/filesystem * libfs/src/rfs/rtems-rfs-rtems.c: Skip the parent (..) path value when eval make moving up out of the RFS file system.
* 2011-06-10 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-06-101-0/+2
| | | | | | PR 1812/filesystem * libfs/src/imfs/imfs_stat.c: stat() implementation for IMFS did not set st_blksize field. Set it based upon user configuration.
* 2011-05-17 Chris Johns <chrisj@rtems.org>Chris Johns2011-05-171-55/+81
| | | | | | PR 1774/filesystem * libfs/src/imfs/imfs_eval.c: The previous change broke some of the tests. This has been fixed.
* 2011-04-16 Chris Johns <chrisj@rtems.org>Chris Johns2011-04-161-55/+57
| | | | | | PR 1774/filesystem * libfs/src/imfs/imfs_eval.c: Fix the IMFS eval and eval for make handlers to not inspect a mounted file sytems path.
* 2011-03-14 Chris Johns <chrisj@rtems.org>Chris Johns2011-03-141-1/+1
| | | | | | PR 1757/filesystem * libfs/src/rfs/rtems-rfs-block-pos.h: Fix the bug in equal compare.
* 2011-03-14 Chris Johns <chrisj@rtems.org>Chris Johns2011-03-144-14/+49
| | | | | | | | | PR 1757/filesystem * libfs/src/rfs/rtems-rfs-block-pos.h, libfs/src/rfs/rtems-rfs-block.h, libfs/src/rfs/rtems-rfs-file.c, libfs/src/rfs/rtems-rfs-rtems-file.c: Set the file size in iop-size when a file is open. Fix lseek to end of file then write for sizes less than half the file system block size.
* 2011-03-03 Chris Johns <chrisj@rtems.org>Chris Johns2011-03-031-0/+15
| | | | | | * libcsupport/src/mknod.c, libfs/src/rfs/rtems-rfs-inode.c: PR 1749. Fix the incorrect handling of the file type in the mode value to reject invalid types as per the standard.
* 2011-02-08 Brett Swimley <bswimley@advanced.pro>Chris Johns2011-02-071-0/+6
| | | | | * libfs/src/rfs/rtems-rfs-rtems.c: Fix bug where the eval path did not close an inode.
* 2010-10-19 Chris Johns <chrisj@rtems.org>Chris Johns2010-10-181-1/+4
| | | | | * libfs/src/rfs/rtems-rfs-rtems-file.c: Add missing unlock in write. Return the error code in close.
* Disable trace.Chris Johns2010-10-111-1/+1
|
* The patch to the 4.10 branch did not apply correctly. This fixes it.Chris Johns2010-10-1110-79/+68
|
* 2010-10-11 Chris Johns <chrisj@rtems.org>Chris Johns2010-10-113-23/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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-27 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-08-271-1/+1
| | | | | | PR 1693/filesystem * libfs/src/imfs/memfile.c: IMFS_memfile_get_block_pointer() was checking incorrect pointer and thus had dead code.
* 2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-08-272-8/+4
| | | | | | | 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-26 Chris Johns <chrisj@rtems.org>Chris Johns2010-08-262-11/+18
| | | | | | | * 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-01 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-012-5/+5
| | | | | | | | | | | | | | | | | | | | * 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-24 Bharath Suri <bharath.s.jois@gmail.com>Joel Sherrill2010-06-241-4/+7
| | | | | | | | 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-24 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-241-0/+5
| | | | | | PR 1587/filesystem Coverity Id 35 * libfs/src/rfs/rtems-rfs-shell.c: Address possible NULL dereference.
* 2010-06-23 Chris Johns <chrisj@rtems.org>Chris Johns2010-06-231-1/+0
| | | | | | PR 1577/filesystem * libfs/src/pipe/fifo.c: Fixed the error codes returned on open.
* 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-181-4/+6
| | | | | * libnetworking/netinet/if_ether.c: Misc. 64bit fixes from FreeBSD. * libfs/src/nfsclient/src/rpcio.c: Misc. 64bit fixes.
* 2010-06-18 Chris Johns <chrisj@rtems.org>Chris Johns2010-06-173-17/+35
| | | | | | | | | * 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-17 Chris Johns <chrisj@rtems.org>Chris Johns2010-06-173-6/+6
| | | | | | 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-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-171-2/+2
| | | | | * libfs/src/rfs/rtems-rfs-file-system.h: Revert previous change. Force RTEMS_RFS_VERSION_MASK to be 32bit.
* 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-172-10/+13
| | | | * libfs/src/rfs/rtems-rfs-format.c: Various 64bit fixes.
* 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-171-2/+4
| | | | * libfs/src/rfs/rtems-rfs-file-system.c: Various 64bit fixes.
* 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-171-1/+3
| | | | * libfs/src/rfs/rtems-rfs-rtems-file.c: Various 64bit fixes.
* 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-171-13/+13
| | | | * libfs/src/rfs/rtems-rfs-buffer.c: Various 64bit fixes.
* 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-171-29/+30
| | | | * libfs/src/rfs/rtems-rfs-shell.c: Various 64bit fixes.
* 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-171-21/+22
| | | | * libfs/src/rfs/rtems-rfs-bitmaps-ut.c: Various 64bit fixes.
* 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-171-5/+7
| | | | * libfs/src/rfs/rtems-rfs-group.c: Various 64bit fixes.
* 2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-161-11/+13
| | | | * libfs/src/rfs/rtems-rfs-file.c: Various 64bit fixes.
* 2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-161-5/+7
| | | | * libfs/src/rfs/rtems-rfs-inode.c: Various 64bit fixes.
* 2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-161-17/+26
| | | | | * libfs/src/rfs/rtems-rfs-rtems.c: Various 64bit fixes. Add PRIomode_t.
* 2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-161-2/+3
| | | | | * libfs/src/rfs/rtems-rfs-buffer-bdbuf.c: Various 64bit fixes.
* 2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-169-16/+14
| | | | | | | | | | | | | | 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-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-161-1/+1
| | | | | PR 1556/cpukit * libfs/src/rfs/rtems-rfs-shell.c: Remove rtems_rfs_shell_cmd_t.
* 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-152-49/+61
| | | | | | | * 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-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-151-1/+1
| | | | * libfs/src/rfs/rtems-rfs-file-system.h: Remove bogus typecast.
* 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-152-8/+11
| | | | | * libfs/src/rfs/rtems-rfs-block.c, libfs/src/rfs/rtems-rfs-buffer.c, libnetworking/nfs/bootp_subr.c: Misc. 64bit-compatibility fixes.