mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 07:42:57 +00:00
cgfsng: move increment out of branch
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
00e5ca1384
commit
edae86e922
@ -2133,7 +2133,8 @@ static int __cg_unified_attach(const struct hierarchy *h, const char *name,
|
||||
if (errno != EBUSY)
|
||||
goto on_error;
|
||||
|
||||
} while (++idx > 0 && idx < 1000);
|
||||
idx++;
|
||||
} while (idx < 1000);
|
||||
|
||||
on_success:
|
||||
if (idx < 1000)
|
||||
|
Loading…
Reference in New Issue
Block a user