mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
namespace: don't retry to a mount if we didn't actually manage to create an inode
This commit is contained in:
@@ -1636,10 +1636,11 @@ static int apply_one_mount(
|
||||
(void) mkdir_parents(mount_entry_path(m), 0755);
|
||||
|
||||
q = make_mount_point_inode_from_path(what, mount_entry_path(m), 0755);
|
||||
if (q < 0 && q != -EEXIST)
|
||||
log_warning_errno(q, "Failed to create destination mount point node '%s', ignoring: %m",
|
||||
mount_entry_path(m));
|
||||
else
|
||||
if (q < 0) {
|
||||
if (q != -EEXIST)
|
||||
log_warning_errno(q, "Failed to create destination mount point node '%s', ignoring: %m",
|
||||
mount_entry_path(m));
|
||||
} else
|
||||
try_again = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user