Re: [dm-devel] [PATCH 18/35] multipathd: uxlsnr: avoid using fd -1 in ppoll()

2021-09-15 Thread Benjamin Marzinski
On Fri, Sep 10, 2021 at 01:41:03PM +0200, mwi...@suse.com wrote: > From: Martin Wilck > > Minor edit: if notifications are off, we set the poll fd to > -1 but still use the POLLIN mask. It looks nicer if to poll > the correct fd, but reset the event mask to 0 if we're not > actually interested in

[dm-devel] [PATCH 18/35] multipathd: uxlsnr: avoid using fd -1 in ppoll()

2021-09-10 Thread mwilck
From: Martin Wilck Minor edit: if notifications are off, we set the poll fd to -1 but still use the POLLIN mask. It looks nicer if to poll the correct fd, but reset the event mask to 0 if we're not actually interested in it. Signed-off-by: Martin Wilck --- multipathd/uxlsnr.c | 6 +++--- 1 fil