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

[lvm-devel] Re: [PATCH] more segtypes in one library



On Thu, Jun 25, 2009 at 10:04:14AM -0400, Mikulas Patocka wrote:
> This is the patch for more segtypes in one shared library. You define 
> function init_segtypes (instead of init_segtype) and this function can 
> register arbitraty number of segtypes with lvm_add_segtype. It returns 
> nonzero on success or zero on failure (in this case, the registered 
> segtypes are destroyed and the library is unloaded).
> The old function init_segtype to init one segtype is still available, so 
> it doesn't break binary compatibility.

I've modified it a bit (passed a new struct instead of using the static,
added warning if both interfaces defined) and checked it in.
 
Alasdair


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