core/unit: print info when unit_add_name failed
authorWen Yang <wenyang@linux.alibaba.com>
Wed, 25 Mar 2020 09:08:50 +0000 (17:08 +0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 27 Mar 2020 17:46:13 +0000 (18:46 +0100)
commitacd1987a1867fc3390ef2516962b2313cbeb366e
tree43755ff969309dcd3e6f07dcb56605ec768fdf34
parent9520a0308d45ad9c885f5413238ecc54c643d972
core/unit: print info when unit_add_name failed

When there are hundreds of mounts on the server, it will take a long
time to analyze the failure of a certain mount unit. So it is useful
to print the reason why unit_add_name() failed.
src/core/unit.c