Extend the loop plugin API to consume open filedescriptors instead of block device paths. This helps consumers to avoid race conditions by opening th device early on their side and just passing to libblockdev further in the process. The fd is being opened by the loop plugin functions anyway.
Extend the loop plugin API to consume open filedescriptors instead of block device paths. This helps consumers to avoid race conditions by opening th device early on their side and just passing to libblockdev further in the process. The fd is being opened by the loop plugin functions anyway.