Changeset 095a807 in rtems for cpukit/libfs

Timestamp:
10/10/17 23:18:09 (7 years ago)
Author:
Fan Deng <enetor@…>
Branches:
5, 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.

(No files)

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