summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp
diff options
context:
space:
mode:
authorFan Deng <enetor@gmail.com>2017-10-10 16:18:09 -0700
committerChris Johns <chrisj@rtems.org>2018-04-11 11:51:57 +1000
commit095a807bc363e7c52e5fca50e946b412c54c18fa (patch)
tree6c0f386871456bf5b9aa0a8b826901083a931f8e /c/src/lib/libbsp
parentMake bit addressing consistent in rtems_rfs_group.c (diff)
downloadrtems-095a807bc363e7c52e5fca50e946b412c54c18fa.tar.bz2
Reset free count properly in rtems_rfs_bitmap_map_clear_all().
In rtems_rfs_bitmap_map_clear_all(), control->free is set to 'elements', which is the number of elements in the bitmap. This is incorrect, as control->free should contain the number of free bits, not elements. This change fixes the logic and resets control->free to a correct value.
Diffstat (limited to 'c/src/lib/libbsp')
0 files changed, 0 insertions, 0 deletions