Fix missing space in comments (#5439)
This commit is contained in:
committed by
Lennart Poettering
parent
ecc0eab247
commit
13e785f7a0
@@ -799,7 +799,7 @@ static int make_read_only(MountEntry *m, char **blacklist) {
|
||||
|
||||
if (mount_entry_read_only(m))
|
||||
r = bind_remount_recursive(mount_entry_path(m), true, blacklist);
|
||||
else if (m->mode == PRIVATE_DEV) { /* Superblock can be readonly but the submounts can't*/
|
||||
else if (m->mode == PRIVATE_DEV) { /* Superblock can be readonly but the submounts can't */
|
||||
if (mount(NULL, mount_entry_path(m), NULL, MS_REMOUNT|DEV_MOUNT_OPTIONS|MS_RDONLY, NULL) < 0)
|
||||
r = -errno;
|
||||
} else
|
||||
|
||||
+1
-1
@@ -1260,7 +1260,7 @@ static int usbffs_address_create(const char *path) {
|
||||
if (fstat(fd, &st) < 0)
|
||||
return -errno;
|
||||
|
||||
/* Check whether this is a regular file (ffs endpoint)*/
|
||||
/* Check whether this is a regular file (ffs endpoint) */
|
||||
if (!S_ISREG(st.st_mode))
|
||||
return -EEXIST;
|
||||
|
||||
|
||||
+1
-1
@@ -3895,7 +3895,7 @@ int unit_kill_context(
|
||||
* should not exist in non-delegated units. On
|
||||
* the unified hierarchy that's different,
|
||||
* there we get proper events. Hence rely on
|
||||
* them.*/
|
||||
* them. */
|
||||
|
||||
if (cg_unified(SYSTEMD_CGROUP_CONTROLLER) ||
|
||||
(detect_container() == 0 && !unit_cgroup_delegate(u)))
|
||||
|
||||
Reference in New Issue
Block a user