mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-19 05:42:49 +08:00
The maximum size of JFFS2 is 4GB minus the block size of the flash. Enforce this limitation when setting up a filesystem on a flashdev region that is larger than the maximum. This also resolves some off-nominal memory leaks.