mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
core/mount: log only once about fs not supporting new mount API
This commit is contained in:
parent
c2198d0c3f
commit
f565e5a94a
@ -1104,6 +1104,12 @@ static int mount_apply_graceful_options(Mount *m, const MountParameters *p, char
|
||||
return r;
|
||||
|
||||
r = mount_option_supported(p->fstype, k ?: *o, v);
|
||||
if (r == -EAGAIN) {
|
||||
log_unit_warning_errno(UNIT(m), r,
|
||||
"x-systemd.graceful-option= used but not supported by file system %s, suppressing all.",
|
||||
p->fstype);
|
||||
break;
|
||||
}
|
||||
if (r < 0)
|
||||
log_unit_warning_errno(UNIT(m), r,
|
||||
"x-systemd.graceful-option=%s specified, but cannot determine availability, suppressing: %m", *o);
|
||||
|
Loading…
x
Reference in New Issue
Block a user