summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/rfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libblock: Drop superfluous <stdlib.h> includeSebastian Huber2016-04-073-0/+3
| | | | | | Drop superfluous <stdlib.h> include from <rtems/diskdevs.h> since this leads to conflicts with the latest Newlib in case this header file is used in the FreeBSD kernel space, e.g. for USB mass storage support.
* Filesystem: Remove superfluous permission checksSebastian Huber2016-01-051-17/+0
| | | | The permission is check by the upper layer.
* RFS: Fix resource leakSebastian Huber2015-10-261-0/+2
| | | | Close #2433.
* cpukit/libdl/rtl-obj-comp.c: Use correct printf() specificationJoel Sherrill2015-03-171-2/+2
|
* rfs: cast minor to uintptr_t to truncate explicitlyGedare Bloom2015-03-161-2/+2
|
* Filesystem: Delete unused fsmountme_h handlerSebastian Huber2015-02-091-1/+0
|
* Filesystem: Delete node type operationSebastian Huber2015-01-221-61/+2
| | | | Use the fstat handler instead.
* Correct error return mismatchesNick Withers2014-12-234-22/+48
| | | | Closes #2139
* rtems-rfs-rtems.c: Add cast to address warningJoel Sherrill2014-11-251-1/+1
|
* rfs: explicitly cast to dev_tGedare Bloom2014-10-161-1/+1
|
* Revert: rtems-rfs-buffer.c: Correct printf() format specifiers to eliminate ↵Joel Sherrill2014-09-161-2/+3
| | | | | | warnings This may actually be a problem in inttypes.h.
* rtems-rfs-buffer.c: Correct printf() format specifiers to eliminate warningsJoel Sherrill2014-09-041-3/+2
|
* libfs: Fix the warning in the RFS.Chris Johns2014-09-031-1/+6
| | | | Return the first error if one or more happen when deleting an inode.
* libfs/rfs: Fix the fstime failures for the RFS file system.Chris Johns2014-04-252-12/+22
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-2139-39/+39
|
* Filesystem: Use default kqfilter and poll handlerSebastian Huber2013-12-204-0/+8
|
* Filesystem: Add readv/writev handlersSebastian Huber2013-12-204-4/+12
| | | | | | | | | The readv() and writev() support was implemented in terms of multiple calls to the read and write handlers. This imposes a problem on device files which use an IO vector as single request entity. For example a low-level network device (e.g. BPF(4)) may use an IO vector to create one frame from multiple protocol layers each with its own IO vector entry.
* For PR 2164 - RFS File System - fix bitmap_create_search loop bugAlan Cudmore2013-12-191-1/+2
| | | | | | | | | | | | | | | | | This is for the RFS file system. There is a bug in the rtems_rfs_bitmap_create_search loop. It is supposed to iterate over the range of bits in a search element ( usually 32 bits ), so it should loop through bits 0 through 31. Instead it loops through 0 - 32, causing some blocks not to be allocated. As in PR 2163, this depends on the block size and number of blocks in a file system. Block sizes and group sizes that are powers of 2 seem to work fine ( 512 byte blocks, 4096 block groups, etc ). When the block sizes are not powers of 2, then this loop error causes some of the blocks at the end of a group to be skipped, preventing 100% of the blocks from being used. A simple test for this and PR2163 is to create a RAM disk with block size 3900 and at least 1 full group ( 31200 blocks ). A file system with these sizes will not be able to allocate 100% of the blocks.
* For PR 2162 - RFS File System - statvfs reports 1 block freeAlan Cudmore2013-12-192-2/+2
| | | | | | | | | This is for the RFS file system. The statvfs call reports 1 block free when the file system is full because it does not account for the superblock in its calculation of free blocks. This is a simple fix that adjusts the number of blocks reported to account for the superblock. We may want to wait for a more complete solution such as locating the superblock in each group.
* For PR 2163 - RFS File System - fix group search algorithm bugAlan Cudmore2013-12-191-1/+15
| | | | | | | | | This is for the RFS file system. There is a bug in the group search algorithm where it will skip groups, causing blocks to remain unallocated. This is dependant on the size of the blocks and number of blocks in a group, so it does not always show up. The fix corrects the skipping of groups during the search, allowing all of the blocks to be found.
* PR2138: rtems_rfs_rtems_initialize() can erroneously set errno.Chris Johns2013-12-101-1/+1
| | | | Patch from Nick for this. Thanks.
* statvfs and ALL filesystem handlers: Add restrict keyword.Daniel Ramirez2013-11-211-2/+3
|
* RFS: Include missing header fileSebastian Huber2013-10-161-0/+1
|
* Filesystem: Add and use rtems_filesystem_chmod()Sebastian Huber2013-09-121-23/+1
| | | | Implement POSIX requirements in the high-level file system layer.
* RFS: Use unprotected chain operationsSebastian Huber2013-08-272-12/+15
| | | | This area is protected by the RFS file system instance lock.
* Add "const void* data" parameter to rtems_rfs_rtems_initialize()'s ↵Nick Withers2013-08-091-1/+1
| | | | | | declaration, matching its definition See https://www.rtems.org/bugzilla/show_bug.cgi?id=2137
* Fix compiler warningsR. Diez2013-08-061-1/+1
|
* Return the amount of data written when an error occurs rather thanChris Johns2013-07-271-3/+9
| | | | | | the error. The change lets the mrfs_fsrdwr test pass.
* Include missing <string.h>Sebastian Huber2013-07-2311-0/+11
|
* libfs: Always use geteuid() and getegid()Sebastian Huber2013-03-221-5/+0
| | | | The two functions are independent of the POSIX API.
* rfs: Doxygen group cannot have a dash in itJoel Sherrill2013-01-1021-21/+21
| | | | Change rtems-rfs to rtems_rfs
* cpukit: Doxygen group fixes and many warnings addressedJoel Sherrill2013-01-1019-23/+31
| | | | | | | The output of the modules.html is much improved. Most filesystem and POSIX API related groups are properly nested. Some formatting issues were addressed as were multiple inconsistencies.
* libfs: Doxygen Clean Up Task #1Alex Ivanov2013-01-0817-428/+603
| | | | | | http://www.google-melange.com/gci/task/view/google/gci2012/8120204 Patch committed with fixes for whitespace issues.
* libfs: Doxygen Clean Up Task #2Mathew Kallada2013-01-041-13/+29
| | | | | | There were minor conflicts and the modifications that were in the repo were favored over the modifications in the submitted patch.
* Header File Doxygen Enhancement Task #1Alex Ivanov2012-12-281-8/+11
|
* Header File Doxygen Enhancement Task #2Mathew Kallada2012-12-281-8/+9
|
* libfs: Doxygen Enhancement Task #3Alex Ivanov2012-12-2813-106/+104
|
* libfs: Doxygen Enhancement Task #2Alex Ivanov2012-12-188-71/+67
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/8032207
* Fix spellingSebastian Huber2012-12-141-1/+1
|
* misc: Header File Doxygen Enhancement Task #3Mathew Kallada2012-12-1215-106/+158
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/8006220
* Remove rtems-rfs-bitmaps-ut.c.Ralf Corsépius2012-11-061-396/+0
|
* Include "rtems-rfs-shell.h".Ralf Corsépius2012-10-191-1/+2
|
* Filesystem: Reject removal of root nodesSebastian Huber2012-10-071-3/+0
| | | | | | | Reject the removal of file system instance root nodes in rmdir() and unlink() and return the EBUSY error status. File system instances can be removed with unmount(). Remove root node special cases in IMFS, DOSFS, and RFS.
* Filesystem: Move operations to mount table entrySebastian Huber2012-05-151-3/+2
| | | | | | | | | | | The scope of the file system operations is the file system instance. The scope of the file system node handlers is the file location. The benefit of moving the operations to the mount table entry is a size reduction of the file location (rtems_filesystem_location_info_t). The code size is slightly increased due to additional load instructions. Restructure rtems_filesystem_mount_table_entry_t to improve cache efficiency.
* Filesystem: Add const qualifier to lock/unlockSebastian Huber2012-05-151-2/+6
|
* Filesystem: PR1255: Move offset update to handlersSebastian Huber2012-05-151-1/+6
| | | | | | | It is now the responsibility of the read() and write() handler to update the offset field of the IO descriptor (rtems_libio_t). This change makes it possible to protect the IO descriptor from concurrent access by per file locks.
* Filesystem: Add shared device IO supportSebastian Huber2012-05-151-59/+8
| | | | | The device IO file system support in IMFS, devFS, and RFS uses now a shared implementation.
* Filesystem: Use ioctl_command_tSebastian Huber2012-05-152-20/+4
|
* rfs: Fix major and minor number integer typesSebastian Huber2012-05-151-25/+30
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-1141-83/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.