mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 09:48:32 +00:00
coverity: #1435208
Unused value Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
13939498ed
commit
8186c5c7c3
@ -2027,7 +2027,8 @@ static int cg_legacy_mount_controllers(int type, struct hierarchy *h,
|
||||
controllerpath,
|
||||
flags | MS_REMOUNT);
|
||||
ret = mount(controllerpath, controllerpath, "cgroup",
|
||||
MS_REMOUNT | MS_BIND | MS_RDONLY, NULL);
|
||||
remount_flags | MS_REMOUNT | MS_BIND | MS_RDONLY,
|
||||
NULL);
|
||||
if (ret < 0) {
|
||||
SYSERROR("Failed to remount \"%s\" ro", controllerpath);
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user