HomeFreeBSD

loader: add file_remove() function to undo file_insert_tail().

Description

loader: add file_remove() function to undo file_insert_tail().

346002 did miss the fact that we do not only undo the loadaddr, but also
we need to remove the inserted module. Implement file_remove() to do the job.

MFC after: 1w

Details

Provenance
tsoomeAuthored on
Parents
rS346006: MFC r345754:
Branches
Unknown
Tags
Unknown