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:
parent
228e331e27
commit
559cf0cd1e
@ -572,10 +572,7 @@ int dev_open_flags(struct device *dev, int flags, int direct, int quiet)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (quiet)
|
log_sys_debug("open", name);
|
||||||
log_sys_debug("open", name);
|
|
||||||
else
|
|
||||||
log_sys_error("open", name);
|
|
||||||
|
|
||||||
dev->flags |= DEV_OPEN_FAILURE;
|
dev->flags |= DEV_OPEN_FAILURE;
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user