[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] Target needs access to mapped device



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]