core: correct argument comments
This commit is contained in:
@@ -661,7 +661,7 @@ static int asynchronous_expire(int dev_autofs_fd, int ioctl_fd) {
|
||||
(int[]) { dev_autofs_fd, ioctl_fd },
|
||||
/* n_except_fds= */ 2,
|
||||
FORK_RESET_SIGNALS|FORK_CLOSE_ALL_FDS|FORK_REOPEN_LOG,
|
||||
/* pid= */ NULL);
|
||||
/* ret_pid= */ NULL);
|
||||
if (r != 0)
|
||||
return r;
|
||||
|
||||
|
||||
+2
-2
@@ -3056,7 +3056,7 @@ int unit_check_oomd_kill(Unit *u) {
|
||||
LOG_UNIT_INVOCATION_ID(u),
|
||||
LOG_UNIT_MESSAGE(u, "systemd-oomd killed some process(es) in this unit."));
|
||||
|
||||
unit_notify_cgroup_oom(u, /* ManagedOOM= */ true);
|
||||
unit_notify_cgroup_oom(u, /* managed_oom= */ true);
|
||||
|
||||
return 1;
|
||||
}
|
||||
@@ -3098,7 +3098,7 @@ int unit_check_oom(Unit *u) {
|
||||
LOG_UNIT_INVOCATION_ID(u),
|
||||
LOG_UNIT_MESSAGE(u, "A process of this unit has been killed by the OOM killer."));
|
||||
|
||||
unit_notify_cgroup_oom(u, /* ManagedOOM= */ false);
|
||||
unit_notify_cgroup_oom(u, /* managed_oom= */ false);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -1333,7 +1333,7 @@ static int mount_private_apivfs(
|
||||
/* We lack permissions to mount a new instance, and it is not already mounted. But we can
|
||||
* access the host's, so as a final fallback bind-mount it to the destination, as most likely
|
||||
* we are inside a user manager in an unprivileged user namespace. */
|
||||
r = mount_nofollow_verbose(LOG_DEBUG, bind_source, entry_path, /* fstype = */ NULL, MS_BIND|MS_REC, /* opts = */ NULL);
|
||||
r = mount_nofollow_verbose(LOG_DEBUG, bind_source, entry_path, /* fstype = */ NULL, MS_BIND|MS_REC, /* options = */ NULL);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
@@ -1348,7 +1348,7 @@ static int mount_private_apivfs(
|
||||
log_debug_errno(r, "Failed to unmount directories below '%s', ignoring: %m", entry_path);
|
||||
|
||||
/* Then, move the new mount instance. */
|
||||
r = mount_nofollow_verbose(LOG_DEBUG, temporary_mount, entry_path, /* fstype = */ NULL, MS_MOVE, /* opts = */ NULL);
|
||||
r = mount_nofollow_verbose(LOG_DEBUG, temporary_mount, entry_path, /* fstype = */ NULL, MS_MOVE, /* options = */ NULL);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
|
||||
+1
-1
@@ -4170,7 +4170,7 @@ PresetAction unit_get_unit_file_preset(Unit *u) {
|
||||
u->manager->runtime_scope,
|
||||
/* root_dir= */ NULL,
|
||||
bn,
|
||||
/* cache= */ NULL));
|
||||
/* cached= */ NULL));
|
||||
}
|
||||
|
||||
Unit* unit_ref_set(UnitRef *ref, Unit *source, Unit *target) {
|
||||
|
||||
Reference in New Issue
Block a user