1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-27 18:04:20 +03:00

devices: drop open error message

This open error is being printed in more common,
non-error circumstances than expected.  After a
number of complaints make it only a debug message.
This commit is contained in:
David Teigland 2019-04-23 09:39:42 -05:00
parent 228e331e27
commit 559cf0cd1e

View File

@ -572,10 +572,7 @@ int dev_open_flags(struct device *dev, int flags, int direct, int quiet)
}
}
#endif
if (quiet)
log_sys_debug("open", name);
else
log_sys_error("open", name);
dev->flags |= DEV_OPEN_FAILURE;
return 0;