[dm-devel] Target needs access to mapped device

Abhishek Gupta agupta at cs.ubc.ca
Wed Apr 5 05:58:31 UTC 2006


Hi everyone,

I need to be able to set a logical device to read-only from the 
target of the logical device. In other words, I need the following 
function in dm-table.c:

void dm_table_set_mode(struct dm_table *t, int mode)
{
 	t->mode = mode;
}

There is already a function dm-table.c:dm_table_get_mode(). Will it be 
feasible to 
include its counterpart too?

Thanks

Abhishek




More information about the dm-devel mailing list