Changeset 095a807 in rtems


Ignore:
Timestamp:
Oct 10, 2017, 11:18:09 PM (22 months ago)
Author:
Fan Deng <enetor@…>
Branches:
master
Children:
64908df
Parents:
0c2241c
git-author:
Fan Deng <enetor@…> (10/10/17 23:18:09)
git-committer:
Chris Johns <chrisj@…> (04/11/18 01:51:57)
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.