Re: [dm-devel] [PATCH] libmpathpersist: use extern struct udev from main program

2017-06-21 Thread Christophe Varoqui
Merged. Thanks. On Wed, Jun 21, 2017 at 12:03 AM, Benjamin Marzinski wrote: > On Sun, Mar 26, 2017 at 03:49:47PM +0200, Martin Wilck wrote: > > Use the global variable "udev" - the internal one is not > > initialized, causing current libudev calls to fail. > > In the main program "mpathpersist",

Re: [dm-devel] [PATCH] libmpathpersist: use extern struct udev from main program

2017-06-20 Thread Benjamin Marzinski
On Sun, Mar 26, 2017 at 03:49:47PM +0200, Martin Wilck wrote: > Use the global variable "udev" - the internal one is not > initialized, causing current libudev calls to fail. > In the main program "mpathpersist", use a globally visible > variable "udev" rather than a local variable in main(). > Thi

[dm-devel] [PATCH] libmpathpersist: use extern struct udev from main program

2017-03-26 Thread Martin Wilck
Use the global variable "udev" - the internal one is not initialized, causing current libudev calls to fail. In the main program "mpathpersist", use a globally visible variable "udev" rather than a local variable in main(). This imitates the way the global variable "udev" is used in multipath and m