get_loop_for_block
Description:
public Loop get_loop_for_block (
Block block)
Gets the corresponding loop interface for block.
This only works if block itself is a loop device or a partition of a loop device.
Parameters:
| this |
A Client.
|
| block |
A Block.
|
Returns:
|
A Loop or null. Free with
unref.
|