mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 04:55:18 +00:00
lxc: Remove unnecessary comment
Commit 66e2adb2ba moved the code and the coverity comment which now was useless since the context was in lxcContainerSetupPivotRoot. Signed-off-by: John Ferlan <jferlan@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
2669edabd3
commit
a3ed78490c
@ -1658,11 +1658,6 @@ static int lxcContainerUnmountForSharedRoot(const char *stateDir,
|
||||
/* Some versions of Linux kernel don't let you overmount
|
||||
* the selinux filesystem, so make sure we kill it first
|
||||
*/
|
||||
/* Filed coverity bug for false positive 'USE_AFTER_FREE' due to swap
|
||||
* of root->src with root->dst and the VIR_FREE(root->src) prior to the
|
||||
* reset of root->src in lxcContainerPrepareRoot()
|
||||
*/
|
||||
/* coverity[deref_arg] */
|
||||
if (lxcContainerUnmountSubtree(SELINUX_MOUNT, false) < 0)
|
||||
goto cleanup;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user