summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-07cpukit/libfs: Remove nfsclientVijay Kumar Banerjee16-10797/+0
Update #3850
2021-04-07cpukit: Move ftpfs from libnetworking to libfsVijay Kumar Banerjee2-0/+2496
Update #3850
2021-03-26dosfs: Use peek supportChristian Mauderer3-5/+31
This speeds up reading fragmented files. Fix #3689
2020-12-02dosfs: Fix Doxygen group placementSebastian Huber10-25/+27
Update #3706.
2020-12-02libfs: Fix Doxygen group placementSebastian Huber6-6/+6
Update #3706.
2020-12-02nfsclient: Rework Doxygen groupsSebastian Huber8-16/+19
Update #3706.
2020-10-17libfs/rfs: Check search bit map end on last bitChris Johns1-2/+15
- Do not write past the last location of the search bit map whe nit is being created. Closes #4148
2020-08-04dosfs: Fix memory leak on failed mounts.Christian Mauderer1-0/+5
Currently if mount fails, a converter isn't destroyed. We have to take care of two cases: 1. The user doesn't provide a converter. In this case mounting a dosfs creates a default converter. This patch makes sure that the converter is destroyed again if mount failes for this case. 2. The user provides a converter. In this case it's not sure that the dosfs specific routines are reached because mount can fail before that. Therefore the user has to destroy the converter himself again. This patch adds a documentation for that and implements it in the media server. Closes #4042.
2020-07-14rtems: Remove deprecated rtems_io_lookup_name()Sebastian Huber1-21/+0
Close #3420.
2020-04-28doxygen: Switch @brief and @ingroupSebastian Huber98-98/+196
This order change fixes the Latex documentation build via Doxygen.
2020-04-16Canonicalize config.h includeSebastian Huber109-169/+169
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2020-03-09imfs: Replace devfs with an IMFS specializationSebastian Huber11-485/+163
Add a simplified path evaluation function IMFS_eval_path_devfs() for a device only IMFS configuration. The code size can be further reduced by the application if it disables the support for legacy IO drivers via: #define CONFIGURE_IMFS_DISABLE_MKNOD #define CONFIGURE_IMFS_DISABLE_MKNOD_DEVICE Obsolete CONFIGURE_MAXIMUM_DEVICES. Remove BSP_MAXIMUM_DEVICES. Update #3894. Update #3898.
2020-03-09imfs: Simplify code generationSebastian Huber1-11/+17
Update #3894.
2020-03-09imfs: Remove unused handlersSebastian Huber1-6/+1
Update #3894.
2020-03-09imfs: Constify imfs_memfile_bytes_per_blockSebastian Huber2-37/+0
The CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK value is validated by <rtems/confdefs/libio.h>. Changing this value during runtime could lead to memory corruption. Update #3894.
2020-03-09imfs: Use _IMFS_get_time()Sebastian Huber1-6/+5
Update #3894.
2020-03-04imfs: Add IMFS_add_node()Sebastian Huber3-5/+162
Update #3894.
2020-03-04imfs: Simplify IMFS_create_node()Sebastian Huber1-3/+4
Update #3894.
2020-03-04imfs: Remove IMFS_NODE_FLAG_NAME_ALLOCATEDSebastian Huber2-14/+39
Remove IMFS_NODE_FLAG_NAME_ALLOCATED and instead replace the node control in rename operations. This avoids a special case in the general node destruction which pulled in free(). Update #3894.
2020-01-03cpukit/libfs: remove more dead code from pipe/fifo.cGedare Bloom1-2/+0
Dead code identified by Coverity (CID 1456674). The value of ret at line 358 is always 0.
2020-01-03cpukit/libfs: remove dead code from pipe/fifo.cGedare Bloom1-2/+0
Dead code identified by Coverity (CID 1456678). The value of ret at line 293 is always 0.
2019-12-11pipe: Use condition variablesSebastian Huber1-49/+17
Use self-contained condition variables instead of Classic API barriers. This simplifies the implementation and configuration. Update #3840.
2019-11-25untar: Unify untar supportSebastian Huber1-142/+55
Update #3823.
2019-11-21imfs: Fix IMFS_make_linearfile()Sebastian Huber1-2/+2
Fix prototype. Fix node size. Linfiles are dynamically turned into memfiles. Update #3823.
2019-11-19imfs: Add IMFS_make_linfile()Sebastian Huber4-20/+105
Update #3818.
2019-10-01dosfs: Fix format with media block sizes > 512Sebastian Huber1-47/+46
2019-04-02doxygen: Added groups to IO libraryAndreas Dachsberger3-3/+3
Update #3706.
2019-03-25libfs/src/pipe/fifo.c: Fix warning.Joel Sherrill1-2/+0
2019-03-14fifo.c: Eliminate logically dead code (Coverity 1437635)Joel Sherrill1-8/+5
2019-02-28Remove explicit file names from @fileSebastian Huber1-1/+1
This makes the @file documentation independent of the actual file name. Update #3707.
2019-02-05fs: Add struct dirent::d_type supportSebastian Huber5-4/+29
2019-01-10Fix format warnings due to ino_t changesSebastian Huber1-1/+2
2018-12-04Spelling and grammar fixes in source code comments (GCI 2018)Marçal Comajoan Cara2-2/+2
2018-12-025 spelling errors for a Google Code-In task.Jacob Shin1-1/+1
Username: deuteriumoxide Email: jacobshin313@gmail.com
2018-11-27dosfs: Fix device identifierSebastian Huber1-1/+1
Update #3358.
2018-11-22pipe/fifo.c: Remove dead code (CID 1437649)Joel Sherrill1-1/+0
Closes #3581.
2018-10-10build: Merge libfs/Makefile.amSebastian Huber2-176/+0
2018-10-05jffs2: Avoid use of constant register variableSebastian Huber1-0/+12
Avoid the use of a constant register variable which is used in some conditions. This gets rid of a clang -Wsometimes-uninitialized warning.
2018-10-04Remove superfluous pipe_create()Sebastian Huber1-1/+4
2018-10-02Use rtems_task_exit()Sebastian Huber1-1/+1
Update #3530. Update #3533.
2018-09-10network: Use kernel/user space header filesSebastian Huber1-1/+0
Add and use <machine/rtems-bsd-kernel-space.h> and <machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command line defines and defines scattered throught the code base. Simplify cpukit/libnetworking/Makefile.am. Update #3375.
2018-09-07nfsclient: Fix unused variable warningSebastian Huber1-1/+0
2018-08-07dosfs: Avoid deprecated routineSebastian Huber4-2/+5
Update #3358.
2018-08-07rfs: Remove erroneous call of rtems_disk_release()Sebastian Huber1-1/+0
The function rtems_rfs_buffer_sync() erroneously calls rtems_disk_release(). This screws up the reference counting of the disk. Close #3484.
2018-07-19jffs2: Rename README to VERSIONSebastian Huber1-0/+0
This makes it easer to find files describing an upstream version, e.g. via "find -name VERSION". Update #3465.
2018-07-16jffs2: Add READMESebastian Huber1-0/+35
Add README to document the corrspending Linux version and the update procedure. Close #3465.
2018-07-16mtd: Unconditionally update ->fail_addr and ->addr in part_erase()Boris Brezillon1-1/+0
->fail_addr and ->addr can be updated no matter the result of parent->_erase(), we just need to remove the code doing the same thing in mtd_erase_callback() to avoid adjusting those fields twice. Note that this can be done because all MTD users have been converted to not pass an erase_info->callback() and are thus only taking the ->addr_fail and ->addr fields into account after part_erase() has returned. While we're at it, get rid of the erase_info->mtd field which was only needed to let mtd_erase_callback() get the partition device back. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Reviewed-by: Richard Weinberger <richard@nod.at>
2018-07-16mtd: Stop assuming mtd_erase() is asynchronousBoris Brezillon1-31/+5
None of the mtd->_erase() implementations work in an asynchronous manner, so let's simplify MTD users that call mtd_erase(). All they need to do is check the value returned by mtd_erase() and assume that != 0 means failure. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Reviewed-by: Richard Weinberger <richard@nod.at>
2018-07-16jffs2: fix spelling mistake: "requestied" -> "requested"Colin Ian King1-1/+1
trivial fix to spelling mistake in JFFS2_ERROR message Signed-off-by: Colin Ian King <colin.king@canonical.com> [Brian: also fix 'an' -> 'a'] Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2018-07-16sched/headers: Prepare to move signal wakeup & sigpending methods from ↵Ingo Molnar2-1/+1
<linux/sched.h> into <linux/sched/signal.h> Fix up affected files that include this signal functionality via sched.h. Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>