On 1/2/23 03:46, Mateusz Kusiak wrote: > Mdmon crashes if stat2devnm returns null. > Use open_mddev to check if device is mddevice and get name using > fd2devnm. > Refactor container name handling. > > Signed-off-by: Mateusz Kusiak <mateusz.kusiak@xxxxxxxxx> > --- > Makefile | 2 +- > mdmon.c | 26 ++++++++++++-------------- > 2 files changed, 13 insertions(+), 15 deletions(-) > Applied! Thanks, Jes