apexd: fix pre-allocation of loop devices

apexd tries to pre-allocate a number of loop devices
during bootstrap phase. By switching loop-control flag
from LOOP_CTL_GET_FREE to LOOP_CTL_ADD, make sure the allocation.

Bug: 128964374
Test: m -j && device boot
Change-Id: Ie35a8acf2d23b1995a47b736a7aa9fd02e75c357
3 files changed
tree: f49148a04adc7ac7848bdf3e255b02de8c0e7847
  1. apexd/
  2. apexer/
  3. proto/
  4. shim/
  5. tests/
  6. OWNERS
  7. PREUPLOAD.cfg