MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / freeBlock

Method freeBlock

lib/vfs/roland.cc:381–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379 }
380
381 void freeBlock(int block)
382 {
383 if (block >= _filesystemBlocks)
384 throw BadFilesystemException();
385
386 if (!_allocationBitmap[block])
387 throw BadFilesystemException();
388 _allocationBitmap[block] = false;
389 }
390
391 unsigned blockToLogicalSectorNumber(int block)
392 {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected