mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-26 09:56:28 -05:00
Misc cleanup
This commit is contained in:
parent
ff48ff6047
commit
fa06b4b8bd
74 changed files with 809 additions and 619 deletions
|
|
@ -136,6 +136,12 @@ CPU::cpu2core()
|
|||
|
||||
ifs >> core_id;
|
||||
|
||||
if(!ifs)
|
||||
{
|
||||
ifs.close();
|
||||
continue;
|
||||
}
|
||||
|
||||
c2c[i] = core_id;
|
||||
|
||||
ifs.close();
|
||||
|
|
@ -169,6 +175,12 @@ CPU::core2cpus()
|
|||
|
||||
ifs >> core_id;
|
||||
|
||||
if(!ifs)
|
||||
{
|
||||
ifs.close();
|
||||
continue;
|
||||
}
|
||||
|
||||
c2c[core_id].insert(i);
|
||||
|
||||
ifs.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue