mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-09 21:30:07 +00:00
main: update expand_fdtable comment
Updated the comment so it is sync with the code Signed-off-by: Alexandru Matei <alexandru.matei@uipath.com>
This commit is contained in:
parent
133ac463c2
commit
091ce85473
@ -836,9 +836,7 @@ fn expand_fdtable() -> Result<(), FdTableError> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// The first 3 handles are stdin, stdout, stderr. We don't want to touch
|
// The first 3 handles are stdin, stdout, stderr. We don't want to touch
|
||||||
// any of them. If table_size is <= 3 it means we either didn't manage to set
|
// any of them.
|
||||||
// the soft limit to 4096 and we use the current soft limit or hard limit <= 3.
|
|
||||||
// Either way there is nothing we can possibly do in this case.
|
|
||||||
if table_size <= 3 {
|
if table_size <= 3 {
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user