get_mdraid_for_block


Description:

[ Version ( since = "2.1" ) ]
public MDRaid get_mdraid_for_block (Block block)

Gets the MDRaid that block is the block device for, if any.

Parameters:

this

A Client.

block

A Block.

Returns:

A MDRaid or null if there is no MDRaid for block or block is not a MD-RAID block device. Free the returned object with unref.