| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
A cluster size > 32KiB resulted in an infinite loop in
fat_init_volume_info() due to an integer overflow.
Update #2717.
|
|
|
|
| |
Update #2433.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Semaphores of type RTEMS_SIMPLE_BINARY_SEMAPHORE are not suitable for a
mutex. Use RTEMS_BINARY_SEMAPHORE with RTEMS_INHERIT_PRIORITY instead.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* nfs.c: removed stray Ctrl-M char.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR 1774/filesystem
* libfs/src/imfs/imfs_eval.c: The previous change broke some of
the tests. This has been fixed.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR 1757/filesystem
* libfs/src/rfs/rtems-rfs-block-pos.h: Fix the bug in equal
compare.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-rtems.c: Fix bug where the eval path did
not close an inode.
|
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-rtems-file.c: Add missing unlock in
write. Return the error code in close.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
PR 1693/filesystem
* libfs/src/imfs/memfile.c: IMFS_memfile_get_block_pointer() was
checking incorrect pointer and thus had dead code.
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR 1587/filesystem
Coverity Id 35
* libfs/src/rfs/rtems-rfs-shell.c: Address possible NULL dereference.
|
|
|
|
|
|
| |
PR 1577/filesystem
* libfs/src/pipe/fifo.c: Fixed the error codes returned on
open.
|
|
|
|
|
| |
* libnetworking/netinet/if_ether.c: Misc. 64bit fixes from FreeBSD.
* libfs/src/nfsclient/src/rpcio.c: Misc. 64bit fixes.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-file-system.h: Revert previous change.
Force RTEMS_RFS_VERSION_MASK to be 32bit.
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-format.c: Various 64bit fixes.
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-file-system.c: Various 64bit fixes.
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-rtems-file.c: Various 64bit fixes.
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-buffer.c: Various 64bit fixes.
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-shell.c: Various 64bit fixes.
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-bitmaps-ut.c: Various 64bit fixes.
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-group.c: Various 64bit fixes.
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-file.c: Various 64bit fixes.
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-inode.c: Various 64bit fixes.
|
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-rtems.c: Various 64bit fixes.
Add PRIomode_t.
|
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-buffer-bdbuf.c:
Various 64bit fixes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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_*".
|
|
|
|
|
| |
PR 1556/cpukit
* libfs/src/rfs/rtems-rfs-shell.c: Remove rtems_rfs_shell_cmd_t.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-file-system.h: Remove bogus typecast.
|
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-block.c, libfs/src/rfs/rtems-rfs-buffer.c,
libnetworking/nfs/bootp_subr.c: Misc. 64bit-compatibility fixes.
|